pub unsafe extern "C" fn aws_http2_message_new_request(
allocator: *mut aws_allocator
) -> *mut aws_http_message
Expand description
Create a new HTTP/2 request message. pseudo headers need to be set from aws_http2_headers_set_request_* to the headers of the aws_http_message. Will be errored out if used in HTTP/1.1 connection.
The caller has a hold on the object and must call aws_http_message_release() when they are done with it.