Jsonrpc.OutputStream.write_message

### Method

# Jsonrpc OutputStreamwrite_message

#### Declaration [src]

    gboolean
    jsonrpc_output_stream_write_message (
      JsonrpcOutputStream* self,
      GVariant* message,
      GCancellable* cancellable,
      GError** error
    )

#### Description [src]

Synchronously sends a message to the peer.

This operation will complete once the message has been buffered. There is no guarantee the peer received it.

Available since: | 3.26

#### Parameters

`message` | `GVariant`
| A `GVariant`.
| The data is owned by the caller of the function.
`cancellable` | `GCancellable`
| A `GCancellable` or `NULL`.
| The argument can be `NULL`.
| The data is owned by the caller of the function.
`error` | `GError **`
| The return location for a `GError*`, or `NULL`.

#### Return value

Returns: | `gboolean`
| No description available.