Add request_names to market data service to get a list of symbols for securities
This commit is contained in:
1 parent
a0e86faa78
commit
e8b4567e60
5 files changed
+21
-11
No files matched your search
@@ -8,13 +8,13 @@ using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace bts.api {
|
||||
internal interface IImmutableMessage {
|
||||
public interface IImmutableMessage {
|
||||
MessageDescriptor Descriptor { get; }
|
||||
int CalculateSize();
|
||||
void WriteTo(CodedOutputStream output);
|
||||
}
|
||||
|
||||
internal static class ImmutableProtoExtensions {
|
||||
public static class ImmutableProtoExtensions {
|
||||
public static void WriteTo(this IImmutableMessage message, Stream output) {
|
||||
var stream = new CodedOutputStream(output);
|
||||
message.WriteTo(stream);
|
||||
|
||||
Reference in new issue
Block a user