Search
Preparing search index...
The search index is not available
@michaelcoxon/rest-client - v1.6.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
"HttpRequestHeaderCollection"
HttpRequestHeaderCollection
Class HttpRequestHeaderCollection
Hierarchy
HeaderCollection
HttpRequestHeaderCollection
Implements
IHttpHeaderCollection
IHttpRequestHeaderCollection
Index
Constructors
constructor
Accessors
authorization
Methods
add
add
Header
get
get
All
remove
to
Object
update
create
From
Object
Constructors
constructor
new
Http
Request
Header
Collection
(
...
headers
:
IHttpHeader
[]
)
:
HttpRequestHeaderCollection
Parameters
Rest
...
headers:
IHttpHeader
[]
Returns
HttpRequestHeaderCollection
Accessors
authorization
get
authorization
(
)
:
string
|
undefined
set
authorization
(
value
:
string
|
undefined
)
:
void
Returns
string
|
undefined
Parameters
value:
string
|
undefined
Returns
void
Methods
add
add
(
name
:
string
, value
:
HttpHeaderValue
)
:
void
Parameters
name:
string
value:
HttpHeaderValue
Returns
void
add
Header
add
Header
(
header
:
IHttpHeader
)
:
void
Parameters
header:
IHttpHeader
Returns
void
get
get
(
name
:
string
)
:
IHttpHeader
|
undefined
Parameters
name:
string
Returns
IHttpHeader
|
undefined
get
All
get
All
(
)
:
IHttpHeader
[]
Returns
IHttpHeader
[]
remove
remove
(
name
:
string
)
:
boolean
Parameters
name:
string
Returns
boolean
to
Object
to
Object
(
)
:
object
Returns
object
[
name:
string
]:
HttpHeaderValue
update
update
(
name
:
string
, value
:
HttpHeaderValue
)
:
void
Parameters
name:
string
value:
HttpHeaderValue
Returns
void
Static
create
From
Object
create
From
Object
(
headers
:
object
)
:
IHttpRequestHeaderCollection
Parameters
headers:
object
[
name:
string
]:
HttpHeaderValue
Returns
IHttpRequestHeaderCollection
Globals
"
Exceptions"
"
Header
Collection"
"
Http
Content
Header
Collection"
"
Http
Request
Header
Collection"
"
Http
Response
Header
Collection"
"
Request
Content"
"
Response
Content"
"
Response
Content
Handlers"
"
Types"
"filters/
Basic
Authentication
Filter"
"helpers/
Filter
Helpers"
"helpers/
Header
Helpers"
"index"
"interfaces/
Http
Client
Enums"
"interfaces/
Http
Client
Interfaces"
"xhr/
Xhr
Http
Client"
"xhr/
Xhr
Http
Request
Response"
Http
Request
Header
Collection
constructor
authorization
add
add
Header
get
get
All
remove
to
Object
update
create
From
Object
Generated using
TypeDoc