Commit fa11308b authored by Evan Nemerson's avatar Evan Nemerson

libsoup-2.4: Use uint8[] in Message.set_{request,response}

parent 26887426
......@@ -241,8 +241,8 @@ namespace Soup {
public void set_first_party (...);
public void set_flags (Soup.MessageFlags flags);
public void set_http_version (Soup.HTTPVersion version);
public void set_request (string content_type, Soup.MemoryUse req_use, string req_body, size_t req_length);
public void set_response (string content_type, Soup.MemoryUse resp_use, string resp_body, size_t resp_length);
public void set_request (string content_type, Soup.MemoryUse req_use, [CCode (type = "char**", array_length_type = "gsize")] uint8[] req_body);
public void set_response (string content_type, Soup.MemoryUse resp_use, [CCode (type = "char**", array_length_type = "gsize")] uint8[] resp_body);
public void set_status (uint status_code);
public void set_status_full (uint status_code, string reason_phrase);
public void set_uri (Soup.URI uri);
......
......@@ -64,7 +64,11 @@ SoupMessage::wrote_headers has_emitter="1"
SoupMessage::wrote_informational has_emitter="1"
soup_message_body_flatten transfer_ownership="1"
soup_cookies_from_request type_arguments="Cookie" transfer_ownership="1"
soup_message_set_request.req_body type_name="uint8" ctype="char**" is_array="1" array_length_type="gsize"
soup_message_set_request.req_length hidden="1"
soup_cookies_from_response type_arguments="Cookie" transfer_ownership="1"
soup_message_set_response.resp_body type_name="uint8" ctype="char**" is_array="1" array_length_type="gsize"
soup_message_set_response.resp_length hidden="1"
soup_header_parse_semi_param_list type_arguments="string,string" transfer_ownership="1"
soup_message_headers_get_content_disposition.disposition transfer_ownership="1"
soup_message_headers_get_content_disposition.params is_out="1" transfer_ownership="1" nullable="1"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment