Function sp_io::offchain::http_request_add_header[][src]

pub fn http_request_add_header(
    request_id: HttpRequestId,
    name: &str,
    value: &str
) -> Result<(), ()>

Append header to the request.