HttpRequest

Overview

Location

  • Reference: Sugar
  • Namespace: Sugar

 

constructor (not nullable Url)

 

constructor(aUrl: not nullable Url)

 

HttpRequest(Url! aUrl)

 

init(_ aUrl: Url)

 

HttpRequest(Url! aUrl)

Parameters:

  • aUrl:

constructor (not nullable Url, HttpRequestMode)

 

constructor(aUrl: not nullable Url; aMode: HttpRequestMode)

 

HttpRequest(Url! aUrl, HttpRequestMode aMode)

 

init(_ aUrl: Url, _ aMode: HttpRequestMode)

 

HttpRequest(Url! aUrl, HttpRequestMode aMode)

Parameters:

  • aUrl:
  • aMode:

AllowCellularAccess

 

property AllowCellularAccess: Boolean read write;

 

Boolean AllowCellularAccess { get; set; }

 

var AllowCellularAccess: Boolean { get{} set{} }

 

Boolean AllowCellularAccess { __get; __set; }

Content

 

property Content: HttpRequestContent read write;

 

HttpRequestContent Content { get; set; }

 

var Content: HttpRequestContent { get{} set{} }

 

HttpRequestContent Content { __get; __set; }

FollowRedirects

 

property FollowRedirects: Boolean read write;

 

Boolean FollowRedirects { get; set; }

 

var FollowRedirects: Boolean { get{} set{} }

 

Boolean FollowRedirects { __get; __set; }

Headers

 

property Headers: not nullable Dictionary<String, String> read;

 

Dictionary<String, String>! Headers { get; }

 

var Headers: Dictionary<String, String> { get{} }

 

Dictionary<String, String>! Headers { __get; }

Mode

 

property Mode: HttpRequestMode read write;

 

HttpRequestMode Mode { get; set; }

 

var Mode: HttpRequestMode { get{} set{} }

 

HttpRequestMode Mode { __get; __set; }

ToString

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()

Url

 

property Url: not nullable Url read write;

 

Url! Url { get; set; }

 

var Url: Url { get{} set{} }

 

Url! Url { __get; __set; }

 

AllowCellularAccess

 

property AllowCellularAccess: Boolean read write;

 

Boolean AllowCellularAccess { get; set; }

 

var AllowCellularAccess: Boolean { get{} set{} }

 

Boolean AllowCellularAccess { __get; __set; }

Content

 

property Content: HttpRequestContent read write;

 

HttpRequestContent Content { get; set; }

 

var Content: HttpRequestContent { get{} set{} }

 

HttpRequestContent Content { __get; __set; }

FollowRedirects

 

property FollowRedirects: Boolean read write;

 

Boolean FollowRedirects { get; set; }

 

var FollowRedirects: Boolean { get{} set{} }

 

Boolean FollowRedirects { __get; __set; }

Headers

 

property Headers: not nullable Dictionary<String, String> read;

 

Dictionary<String, String>! Headers { get; }

 

var Headers: Dictionary<String, String> { get{} }

 

Dictionary<String, String>! Headers { __get; }

Mode

 

property Mode: HttpRequestMode read write;

 

HttpRequestMode Mode { get; set; }

 

var Mode: HttpRequestMode { get{} set{} }

 

HttpRequestMode Mode { __get; __set; }

Url

 

property Url: not nullable Url read write;

 

Url! Url { get; set; }

 

var Url: Url { get{} set{} }

 

Url! Url { __get; __set; }

 

constructor (not nullable Url)

 

constructor(aUrl: not nullable Url)

 

HttpRequest(Url! aUrl)

 

init(_ aUrl: Url)

 

HttpRequest(Url! aUrl)

Parameters:

  • aUrl:

constructor (not nullable Url, HttpRequestMode)

 

constructor(aUrl: not nullable Url; aMode: HttpRequestMode)

 

HttpRequest(Url! aUrl, HttpRequestMode aMode)

 

init(_ aUrl: Url, _ aMode: HttpRequestMode)

 

HttpRequest(Url! aUrl, HttpRequestMode aMode)

Parameters:

  • aUrl:
  • aMode:

ToString

 

method ToString: String

 

String ToString()

 

func ToString() -> String

 

String ToString()