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
"HttpResponseHeaderCollection"
HttpResponseHeaderCollection
Class HttpResponseHeaderCollection
Hierarchy
HeaderCollection
HttpResponseHeaderCollection
Implements
IHttpHeaderCollection
IHttpResponseHeaderCollection
Index
Constructors
constructor
Accessors
content
Type
Methods
add
add
Header
get
get
All
remove
to
Object
update
create
From
Object
Constructors
constructor
new
Http
Response
Header
Collection
(
...
headers
:
IHttpHeader
[]
)
:
HttpResponseHeaderCollection
Parameters
Rest
...
headers:
IHttpHeader
[]
Returns
HttpResponseHeaderCollection
Accessors
content
Type
get
contentType
(
)
:
IContentType
|
undefined
set
contentType
(
value
:
IContentType
|
undefined
)
:
void
Returns
IContentType
|
undefined
Parameters
value:
IContentType
|
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
)
:
IHttpResponseHeaderCollection
Parameters
headers:
object
[
name:
string
]:
HttpHeaderValue
Returns
IHttpResponseHeaderCollection
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
Response
Header
Collection
constructor
content
Type
add
add
Header
get
get
All
remove
to
Object
update
create
From
Object
Generated using
TypeDoc