RequestBodyUnion

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

Specification

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

Summary

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

IsForm

this.IsForm
Member

Returns

bool

IsBytes

this.IsBytes
Member

Returns

bool

IsEmpty

this.IsEmpty
Member

Returns

bool

IsText

this.IsText
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