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
"HeaderCollection"
HeaderCollection
Class HeaderCollection
Hierarchy
HeaderCollection
HttpContentHeaderCollection
HttpRequestHeaderCollection
HttpResponseHeaderCollection
Implements
IHttpHeaderCollection
Index
Constructors
constructor
Properties
_headers
Methods
add
add
Header
get
get
All
remove
to
Object
update
create
From
Object
Constructors
constructor
new
Header
Collection
(
...
headers
:
IHttpHeader
[]
)
:
HeaderCollection
Parameters
Rest
...
headers:
IHttpHeader
[]
Returns
HeaderCollection
Properties
Private
_headers
_headers
:
IHttpHeader
[]
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
)
:
IHttpHeaderCollection
Parameters
headers:
object
[
name:
string
]:
HttpHeaderValue
Returns
IHttpHeaderCollection
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"
Header
Collection
constructor
_headers
add
add
Header
get
get
All
remove
to
Object
update
create
From
Object
Generated using
TypeDoc