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
"RequestContent"
StringRequestContent
Class StringRequestContent
Hierarchy
StringRequestContent
Implements
IHttpRequestContent
Index
Constructors
constructor
Properties
headers
str
Methods
execute
Async
Constructors
constructor
new
String
Request
Content
(
str
:
string
, headers
?:
IHttpContentHeaderCollection
)
:
StringRequestContent
Parameters
str:
string
Default value
headers:
IHttpContentHeaderCollection
= new HttpContentHeaderCollection()
Returns
StringRequestContent
Properties
headers
headers
:
IHttpContentHeaderCollection
str
str
:
string
Methods
execute
Async
execute
Async<TResult>
(
contentWriter
:
function
)
:
Promise
<
TResult
>
Type parameters
TResult
Parameters
contentWriter:
function
(
data
?:
any
)
:
TResult
|
PromiseLike
<
TResult
>
Parameters
Optional
data:
any
Returns
TResult
|
PromiseLike
<
TResult
>
Returns
Promise
<
TResult
>
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"
Empty
Request
Content
Json
Request
Content
Multipart
Request
Content
String
Request
Content
constructor
headers
str
execute
Async
Generated using
TypeDoc