process_incoming_message
Description:
[ Version ( since = "2.68" ) ]
public virtual Bytes process_incoming_message (ref uint8 header, owned Bytes payload) throws Error
public virtual Bytes process_incoming_message (ref uint8 header, owned Bytes payload) throws Error
Process a message after it's received.
If the payload isn't changed the given payload
is just returned, otherwise g_bytes_unref
is called on the given
payload
and a new Bytes is returned with the new data.
Extensions using reserved bits of the header will reset them in header
.
Parameters:
this | |
header |
the message header |
payload |
the payload data |
Returns:
the message payload data, or |