RequestBodyUnion

PackageAxial.HttpClient
Supplies the request payload and its media type.

Specification

Kind
Union
Members
8
Examples
0
IsEmptySignature
this.IsEmpty
IsTextSignature
this.IsText
IsBytesSignature
this.IsBytes
IsFormSignature
this.IsForm
EmptySignature
Empty

Summary

NameSignatureSynopsis
IsEmptythis.IsEmptyNo description available.
IsTextthis.IsTextNo description available.
IsBytesthis.IsBytesNo description available.
IsFormthis.IsFormNo description available.
EmptyEmptyNo description available.
TextText(content, contentType)No description available.
BytesBytes(content, contentType)No description available.
FormForm fieldsNo description available.

IsEmpty

this.IsEmpty
Member

Returns

bool

IsText

this.IsText
Member

Returns

bool

IsBytes

this.IsBytes
Member

Returns

bool

IsForm

this.IsForm
Member

Returns

bool

Empty

Empty
Member

Returns

unit

Text

Text(content, contentType)
Member

Parameters

NameTypeDescription
contentstring
contentTypestring

Returns

unit

Bytes

Bytes(content, contentType)
Member

Parameters

NameTypeDescription
contentbyte array
contentTypestring

Returns

unit

Form

Form fields
Member

Parameters

NameTypeDescription
fields(string * string) list

Returns

unit