Virtual Method
SoupWebsocketExtensionprocess_incoming_message_with_limit
Declaration [src]
GBytes*
process_incoming_message_with_limit (
SoupWebsocketExtension* extension,
guint8* header,
GBytes* payload,
guint64 max_output_size,
GError** error
)
Description [src]
Called to process the payload data of
a message after it’s received without exceeding the requested maximum
output size. If unset, process_incoming_message is used.
Parameters
header-
Type:
guint8*No description available.
The data is owned by the caller of the method. payload-
Type:
GBytesNo description available.
The data is owned by the caller of the method. max_output_size-
Type:
guint64No description available.
error-
Type:
GError **The return location for a recoverable error.
The argument can be NULL.If the return location is not NULL, then you must initialize it to aNULLGError*.The argument will be left initialized to NULLby the virtual function if there are no errors.In case of error, the argument will be set to a newly allocated GError; the caller will take ownership of the data, and be responsible for freeing it.
Return value
Type: GBytes
No description available.
| The caller of the method takes ownership of the returned data, and is responsible for freeing it. |