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)
Sub New(aUrl As Url)
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)
Sub New(aUrl As Url, aMode As HttpRequestMode)
Parameters:
- aUrl:
- aMode:
AllowCellularAccess
property AllowCellularAccess: Boolean read write;
Boolean AllowCellularAccess { get; set; }
var AllowCellularAccess: Boolean { get{} set{} }
Boolean AllowCellularAccess { __get; __set; }
Property AllowCellularAccess() As Boolean
Content
property Content: HttpRequestContent read write;
HttpRequestContent Content { get; set; }
var Content: HttpRequestContent { get{} set{} }
HttpRequestContent Content { __get; __set; }
Property Content() As HttpRequestContent
FollowRedirects
property FollowRedirects: Boolean read write;
Boolean FollowRedirects { get; set; }
var FollowRedirects: Boolean { get{} set{} }
Boolean FollowRedirects { __get; __set; }
Property FollowRedirects() As Boolean
Headers
Mode
property Mode: HttpRequestMode read write;
HttpRequestMode Mode { get; set; }
var Mode: HttpRequestMode { get{} set{} }
HttpRequestMode Mode { __get; __set; }
Property Mode() As HttpRequestMode
ToString
method ToString: String
String ToString()
func ToString() -> String
String ToString()
Function ToString() As String
Url
AllowCellularAccess
property AllowCellularAccess: Boolean read write;
Boolean AllowCellularAccess { get; set; }
var AllowCellularAccess: Boolean { get{} set{} }
Boolean AllowCellularAccess { __get; __set; }
Property AllowCellularAccess() As Boolean
Content
property Content: HttpRequestContent read write;
HttpRequestContent Content { get; set; }
var Content: HttpRequestContent { get{} set{} }
HttpRequestContent Content { __get; __set; }
Property Content() As HttpRequestContent
FollowRedirects
property FollowRedirects: Boolean read write;
Boolean FollowRedirects { get; set; }
var FollowRedirects: Boolean { get{} set{} }
Boolean FollowRedirects { __get; __set; }
Property FollowRedirects() As Boolean
Headers
Mode
property Mode: HttpRequestMode read write;
HttpRequestMode Mode { get; set; }
var Mode: HttpRequestMode { get{} set{} }
HttpRequestMode Mode { __get; __set; }
Property Mode() As HttpRequestMode
Url
constructor (not nullable Url)
constructor(aUrl: not nullable Url)
HttpRequest(Url! aUrl)
init(_ aUrl: Url)
HttpRequest(Url aUrl)
Sub New(aUrl As Url)
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)
Sub New(aUrl As Url, aMode As HttpRequestMode)
Parameters:
- aUrl:
- aMode:
ToString