RequestBodyUnion

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

Specification

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

Summary

NameSignatureSynopsis
IsBytesthis.IsBytesNo description available.
IsFormthis.IsFormNo 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.

IsBytes

this.IsBytes
Member

Returns

bool

IsForm

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