RequestBodyUnion

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

Specification

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

Summary

NameSignatureSynopsis
IsTextthis.IsTextNo description available.
IsBytesthis.IsBytesNo description available.
IsEmptythis.IsEmptyNo 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.

IsText

this.IsText
Member

Returns

bool

IsBytes

this.IsBytes
Member

Returns

bool

IsEmpty

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