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"
MultipartRequestContent
Class MultipartRequestContent<T>
Type parameters
T
Hierarchy
MultipartRequestContent
Implements
IHttpRequestContent
Index
Constructors
constructor
Properties
headers
object
Methods
execute
Async
parse
Object
Constructors
constructor
new
Multipart
Request
Content
(
object
:
T
, headers
?:
IHttpContentHeaderCollection
)
:
MultipartRequestContent
Parameters
object:
T
Default value
headers:
IHttpContentHeaderCollection
= new HttpContentHeaderCollection()
Returns
MultipartRequestContent
Properties
headers
headers
:
IHttpContentHeaderCollection
object
object
:
T
Methods
execute
Async
execute
Async<TResult>
(
contentWriter
:
function
)
:
Promise
<
TResult
>
Type parameters
TResult
Parameters
contentWriter:
function
(
data
?:
any
)
:
Promisable
<
TResult
>
Parameters
Optional
data:
any
Returns
Promisable
<
TResult
>
Returns
Promise
<
TResult
>
Static
Private
parse
Object
parse
Object
(
key
:
string
, object
:
any
, formData
:
FormData
)
:
void
Parameters
key:
string
object:
any
formData:
FormData
Returns
void
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
constructor
headers
object
execute
Async
parse
Object
String
Request
Content
Generated using
TypeDoc