public async Task WriteAsync(IpcResponse response,
                              CancellationToken cancellationToken = default)
 {
     byte[] binary = _serializer.SerializeResponse(response);
     await WriteMessageAsync(binary, cancellationToken).ConfigureAwait(false);
 }
Exemplo n.º 2
0
 public void Write(IpcResponse response)
 {
     byte[] binary = _serializer.SerializeResponse(response);
     WriteMessage(binary);
 }