Skip to content

Headers

Values

append

let append: (
WebAPI.FetchAPI.headers,
~name: string,
~value: string,
) => unit

Parameters

WebAPI.FetchAPI.headers string string

Return type

unit

delete

let delete: (WebAPI.FetchAPI.headers, string) => unit

Parameters

WebAPI.FetchAPI.headers string

Return type

unit

get

let get: (WebAPI.FetchAPI.headers, string) => string

Parameters

WebAPI.FetchAPI.headers string

Return type

string

getSetCookie

let getSetCookie: WebAPI.FetchAPI.headers => array<string>

Parameters

WebAPI.FetchAPI.headers

Return type

array< string >

has

let has: (WebAPI.FetchAPI.headers, string) => bool

Parameters

WebAPI.FetchAPI.headers string

Return type

bool

make

let make: (~init: array<array<string>>=?) => WebAPI.FetchAPI.headers

Parameters

option< array< array< string > > >

Return type

WebAPI.FetchAPI.headers

make2

let make2: (~init: WebAPI.Prelude.any=?) => WebAPI.FetchAPI.headers

Parameters

option< WebAPI.Prelude.any >

Return type

WebAPI.FetchAPI.headers

set

let set: (
WebAPI.FetchAPI.headers,
~name: string,
~value: string,
) => unit

Parameters

WebAPI.FetchAPI.headers string string

Return type

unit