Method
EDataServerSoupSessioncheck_result
since: 3.26
Declaration [src]
gboolean
e_soup_session_check_result (
ESoupSession* session,
SoupMessage* message,
gconstpointer read_bytes,
gsize bytes_length,
GError** error
)
Description [src]
Checks result of the message and sets the error if it failed.
When it failed and the read_bytes is provided, then these are
set to message‘s response body, thus it can be used later.
Available since: 3.26
Parameters
message-
Type:
SoupMessageA
SoupMessage.The data is owned by the caller of the method. read_bytes-
Type:
gconstpointerOptional bytes which had been read from the stream, or
NULL.The argument can be NULL.The data is owned by the caller of the method. bytes_length-
Type:
gsizeHow many bytes had been read; ignored when
read_bytesisNULL. 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 method 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.