pub unsafe extern "C" fn aws_uri_scheme(
uri: *const aws_uri
) -> *const aws_byte_cursor
Expand description
Returns the scheme portion of the uri (e.g. http, https, ftp, ftps, etc…). If the scheme was not present in the uri, the returned value will be empty. It is the users job to determine the appropriate defaults if this field is empty, based on protocol, port, etc…