HttpRequest

constructor(aUrl: not nullable Url; aMethod: HttpRequestMethod := HttpRequestMethod.Get)
HttpRequest(Url! aUrl, HttpRequestMethod aMethod = HttpRequestMethod.Get)
init(_ aUrl: Url, _ aMethod: HttpRequestMethod = HttpRequestMethod.Get)
HttpRequest(Url aUrl, HttpRequestMethod aMethod)
Sub New(aUrl As Url, aMethod As HttpRequestMethod = HttpRequestMethod.Get)

Parameters:

  • aUrl:
  • aMethod:

constructor(aUrlString: not nullable String; aMethod: HttpRequestMethod := HttpRequestMethod.Get)
HttpRequest(String! aUrlString, HttpRequestMethod aMethod = HttpRequestMethod.Get)
init(_ aUrlString: String, _ aMethod: HttpRequestMethod = HttpRequestMethod.Get)
HttpRequest(String aUrlString, HttpRequestMethod aMethod)
Sub New(aUrlString As String, aMethod As HttpRequestMethod = HttpRequestMethod.Get)

Parameters:

  • aUrlString:
  • aMethod:

Accept

property Accept: String read write;
String Accept { get; set; }
var Accept: String { get{} set{} }
String Accept { __get; __set; }
Property Accept() As String

AllowCellularAccess

Allows this request to go through mobile networks instead of just wifi

property AllowCellularAccess: Boolean read write;
Boolean AllowCellularAccess { get; set; }
var AllowCellularAccess: Boolean { get{} set{} }
Boolean AllowCellularAccess { __get; __set; }
Property AllowCellularAccess() As Boolean

property Authorization: IHttpAuthorization read write;
IHttpAuthorization Authorization { get; set; }
var Authorization: IHttpAuthorization { get{} set{} }
IHttpAuthorization Authorization { __get; __set; }
Property Authorization() As IHttpAuthorization

Content

Content of this request, if applicable for this method.

property Content: nullable HttpRequestContent read write;
HttpRequestContent? Content { get; set; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Content: HttpRequestContent? { get{} set{} }
// Toffee
var Content: HttpRequestContent { get{} set{} }
HttpRequestContent Content { __get; __set; }
Property Content() As HttpRequestContent?

property DebugHeaders: Boolean read write;
Boolean DebugHeaders { get; set; }
var DebugHeaders: Boolean { get{} set{} }
Boolean DebugHeaders { __get; __set; }
Property DebugHeaders() As Boolean

DebugPayloads

property DebugPayloads: Boolean read write;
Boolean DebugPayloads { get; set; }
var DebugPayloads: Boolean { get{} set{} }
Boolean DebugPayloads { __get; __set; }
Property DebugPayloads() As Boolean

description  override Toffee, ToffeeV2

Returns a string represnetnation fo this clas.

func description() -> NSString

FollowRedirects

Follow redirects in the request.

property FollowRedirects: Boolean read write;
Boolean FollowRedirects { get; set; }
var FollowRedirects: Boolean { get{} set{} }
Boolean FollowRedirects { __get; __set; }
Property FollowRedirects() As Boolean

Get the headers dictionary for this request.

property Headers: not nullable Dictionary<String, String> read;
Dictionary<String, String>! Headers { get; }
var Headers: Dictionary<String, String> { get{} }
Dictionary<String, String> Headers { __get; }
ReadOnly Property Headers() As Dictionary<String, String>

KeepAlive

property KeepAlive: Boolean read write;
Boolean KeepAlive { get; set; }
var KeepAlive: Boolean { get{} set{} }
Boolean KeepAlive { __get; __set; }
Property KeepAlive() As Boolean

Method

property Method: HttpRequestMethod read write;
HttpRequestMethod Method { get; set; }
var Method: HttpRequestMethod { get{} set{} }
HttpRequestMethod Method { __get; __set; }
Property Method() As HttpRequestMethod

Mode

Get or set the request mode (GET, POST etc)

property Mode: HttpRequestMethod read write;
HttpRequestMethod Mode { get; set; }
var Mode: HttpRequestMethod { get{} set{} }
HttpRequestMethod Mode { __get; __set; }
Property Mode() As HttpRequestMethod

Timeout

Time for this request.

property Timeout: Double read write;
Double Timeout { get; set; }
var Timeout: Double { get{} set{} }
Double Timeout { __get; __set; }
Property Timeout() As Double

toString Cooper

method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString

ToString  virtual .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2

Returns a string represnetnation fo this clas.

method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString

Url

URL to send.

property Url: not nullable Url read write;
var Url: Url { get{} set{} }
Url Url { __get; __set; }

UserAgent

property UserAgent: String read write;
String UserAgent { get; set; }
var UserAgent: String { get{} set{} }
String UserAgent { __get; __set; }
Property UserAgent() As String

VerifyUntrustedCertificate

property VerifyUntrustedCertificate: HttpVerifyUntrustedCertificateBlock read write;
HttpVerifyUntrustedCertificateBlock VerifyUntrustedCertificate { get; set; }
var VerifyUntrustedCertificate: HttpVerifyUntrustedCertificateBlock { get{} set{} }
HttpVerifyUntrustedCertificateBlock VerifyUntrustedCertificate { __get; __set; }
Property VerifyUntrustedCertificate() As HttpVerifyUntrustedCertificateBlock

Accept

property Accept: String read write;
String Accept { get; set; }
var Accept: String { get{} set{} }
String Accept { __get; __set; }
Property Accept() As String

AllowCellularAccess

Allows this request to go through mobile networks instead of just wifi

property AllowCellularAccess: Boolean read write;
Boolean AllowCellularAccess { get; set; }
var AllowCellularAccess: Boolean { get{} set{} }
Boolean AllowCellularAccess { __get; __set; }
Property AllowCellularAccess() As Boolean

Authorization

property Authorization: IHttpAuthorization read write;
IHttpAuthorization Authorization { get; set; }
var Authorization: IHttpAuthorization { get{} set{} }
IHttpAuthorization Authorization { __get; __set; }
Property Authorization() As IHttpAuthorization

Content

Content of this request, if applicable for this method.

property Content: nullable HttpRequestContent read write;
HttpRequestContent? Content { get; set; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var Content: HttpRequestContent? { get{} set{} }
// Toffee
var Content: HttpRequestContent { get{} set{} }
HttpRequestContent Content { __get; __set; }
Property Content() As HttpRequestContent?

property DebugHeaders: Boolean read write;
Boolean DebugHeaders { get; set; }
var DebugHeaders: Boolean { get{} set{} }
Boolean DebugHeaders { __get; __set; }
Property DebugHeaders() As Boolean

DebugPayloads

property DebugPayloads: Boolean read write;
Boolean DebugPayloads { get; set; }
var DebugPayloads: Boolean { get{} set{} }
Boolean DebugPayloads { __get; __set; }
Property DebugPayloads() As Boolean

FollowRedirects

Follow redirects in the request.

property FollowRedirects: Boolean read write;
Boolean FollowRedirects { get; set; }
var FollowRedirects: Boolean { get{} set{} }
Boolean FollowRedirects { __get; __set; }
Property FollowRedirects() As Boolean

Get the headers dictionary for this request.

property Headers: not nullable Dictionary<String, String> read;
Dictionary<String, String>! Headers { get; }
var Headers: Dictionary<String, String> { get{} }
Dictionary<String, String> Headers { __get; }
ReadOnly Property Headers() As Dictionary<String, String>

KeepAlive

property KeepAlive: Boolean read write;
Boolean KeepAlive { get; set; }
var KeepAlive: Boolean { get{} set{} }
Boolean KeepAlive { __get; __set; }
Property KeepAlive() As Boolean

Method

property Method: HttpRequestMethod read write;
HttpRequestMethod Method { get; set; }
var Method: HttpRequestMethod { get{} set{} }
HttpRequestMethod Method { __get; __set; }
Property Method() As HttpRequestMethod

Mode

Get or set the request mode (GET, POST etc)

property Mode: HttpRequestMethod read write;
HttpRequestMethod Mode { get; set; }
var Mode: HttpRequestMethod { get{} set{} }
HttpRequestMethod Mode { __get; __set; }
Property Mode() As HttpRequestMethod

Timeout

Time for this request.

property Timeout: Double read write;
Double Timeout { get; set; }
var Timeout: Double { get{} set{} }
Double Timeout { __get; __set; }
Property Timeout() As Double

Url

URL to send.

property Url: not nullable Url read write;
var Url: Url { get{} set{} }
Url Url { __get; __set; }

UserAgent

property UserAgent: String read write;
String UserAgent { get; set; }
var UserAgent: String { get{} set{} }
String UserAgent { __get; __set; }
Property UserAgent() As String

VerifyUntrustedCertificate

property VerifyUntrustedCertificate: HttpVerifyUntrustedCertificateBlock read write;
HttpVerifyUntrustedCertificateBlock VerifyUntrustedCertificate { get; set; }
var VerifyUntrustedCertificate: HttpVerifyUntrustedCertificateBlock { get{} set{} }
HttpVerifyUntrustedCertificateBlock VerifyUntrustedCertificate { __get; __set; }
Property VerifyUntrustedCertificate() As HttpVerifyUntrustedCertificateBlock
constructor(aUrl: not nullable Url; aMethod: HttpRequestMethod := HttpRequestMethod.Get)
HttpRequest(Url! aUrl, HttpRequestMethod aMethod = HttpRequestMethod.Get)
init(_ aUrl: Url, _ aMethod: HttpRequestMethod = HttpRequestMethod.Get)
HttpRequest(Url aUrl, HttpRequestMethod aMethod)
Sub New(aUrl As Url, aMethod As HttpRequestMethod = HttpRequestMethod.Get)

Parameters:

  • aUrl:
  • aMethod:

constructor(aUrlString: not nullable String; aMethod: HttpRequestMethod := HttpRequestMethod.Get)
HttpRequest(String! aUrlString, HttpRequestMethod aMethod = HttpRequestMethod.Get)
init(_ aUrlString: String, _ aMethod: HttpRequestMethod = HttpRequestMethod.Get)
HttpRequest(String aUrlString, HttpRequestMethod aMethod)
Sub New(aUrlString As String, aMethod As HttpRequestMethod = HttpRequestMethod.Get)

Parameters:

  • aUrlString:
  • aMethod:

description  override Toffee, ToffeeV2

Returns a string represnetnation fo this clas.

func description() -> NSString

toString Cooper

method toString: PlatformString
PlatformString toString()
func toString() -> PlatformString
PlatformString toString()
Function toString() As PlatformString

ToString  virtual .NET, .NET Core 6.0, .NET Standard 2.0, Island, Toffee, ToffeeV2

Returns a string represnetnation fo this clas.

method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString