Exemple #1
0
        static async Task RequestFireAndForgetTest(string data = "data", string metadata = "metadata")
        {
            string testName = $"RequestFireAndForgetTest[{data},{metadata}]";

            Console.WriteLine($"{testName} start.............................................");
            await _client.RequestFireAndForget(data.ToReadOnlySequence(), metadata.ToReadOnlySequence());

            Console.WriteLine($"RequestFireAndForgetTest over....................................................");
        }
Exemple #2
0
 protected void __RequestFireAndForget(ReadOnlySequence <byte> data, ReadOnlySequence <byte> metadata = default)
 {
     Client.RequestFireAndForget(null, data, metadata);
 }
 public Task RequestFireAndForget(IRSocketRPCStream stream, string service, string method, ReadOnlySequence <byte> data, ReadOnlySequence <byte> metadata = default, ReadOnlySequence <byte> tracing = default) => Client.RequestFireAndForget(new RemoteProcedureCall(stream), data, new RemoteProcedureCall.RemoteProcedureCallMetadata(service, method, metadata, tracing));