Esempio n. 1
0
 public Task RequestStream <TData, TMetadata>(IRSocketStream stream, TData data, TMetadata metadata        = default, int initial = INITIALDEFAULT) => RequestStream(stream, RequestDataSerializer.Serialize(data), RequestMetadataSerializer.Serialize(metadata), initial);
Esempio n. 2
0
 public Task RequestStream <TMetadata>(IRSocketStream stream, ReadOnlySpan <byte> data, TMetadata metadata = default, int initial = INITIALDEFAULT) => RequestStream(stream, data, RequestMetadataSerializer.Serialize(metadata), initial);
Esempio n. 3
0
 public Task RequestResponse <TData, TMetadata>(IRSocketStream stream, TData data, TMetadata metadata        = default) => RequestResponse(stream, RequestDataSerializer.Serialize(data), RequestMetadataSerializer.Serialize(metadata));
Esempio n. 4
0
 public Task RequestResponse <TMetadata>(IRSocketStream stream, ReadOnlySpan <byte> data, TMetadata metadata = default) => RequestResponse(stream, data, RequestMetadataSerializer.Serialize(metadata));
Esempio n. 5
0
 public Task RequestFireAndForget <TData, TMetadata>(IRSocketStream stream, TData data, TMetadata metadata        = default) => RequestFireAndForget(stream, RequestDataSerializer.Serialize(data), RequestMetadataSerializer.Serialize(metadata));
Esempio n. 6
0
 public Task RequestFireAndForget <TMetadata>(IRSocketStream stream, ReadOnlySpan <byte> data, TMetadata metadata = default) => RequestFireAndForget(stream, data, RequestMetadataSerializer.Serialize(metadata));