HttpRequest
Overview
Request class for HTTP
Location
-
Reference:
- Elements.dll .NET, .NET Core 6.0, .NET Standard 2.0
- elements.jar Cooper
- Elements.fx Island, ToffeeV2
- libElements.fx Toffee
- Namespace: RemObjects.Elements.RTL
- Platforms: .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island, Toffee, ToffeeV2
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:
constructor (not nullable String, HttpRequestMode)
constructor(aUrlString: not nullable String; aMode: HttpRequestMode)
HttpRequest(String! aUrlString, HttpRequestMode aMode)
init(_ aUrlString: String, _ aMode: HttpRequestMode)
HttpRequest(String aUrlString, HttpRequestMode aMode)
Sub New(aUrlString As String, aMode As HttpRequestMode)
Parameters:
- aUrlString:
- aMode:
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
Authentication
property Authentication: IHttpAuthentication read write;
IHttpAuthentication Authentication { get; set; }
var Authentication: IHttpAuthentication { get{} set{} }
IHttpAuthentication Authentication { __get; __set; }
Property Authentication() As IHttpAuthentication
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?
ContentType
property ContentType: nullable String read write;
String? ContentType { get; set; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var ContentType: String? { get{} set{} }
// Toffee
var ContentType: String { get{} set{} }
String ContentType { __get; __set; }
Property ContentType() As String?
description override ToffeeV2
Returns a string represnetnation fo this clas.
func description() -> NSString
description description(): NSString override Toffee
func description(description ) -> NSString
Parameters:
- :
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
Headers
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>
Mode
Get or set the request mode (GET, POST etc)
property Mode: HttpRequestMode read write;
HttpRequestMode Mode { get; set; }
var Mode: HttpRequestMode { get{} set{} }
HttpRequestMode Mode { __get; __set; }
Property Mode() As HttpRequestMode
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, ToffeeV2
Returns a string represnetnation fo this clas.
method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString
ToString ToString(): String virtual Toffee
func ToString(ToString ) -> String
Parameters:
- :
Url
URL to send.
property Url: not nullable Url read write;
Url! Url { get; set; }
var Url: Url { get{} set{} }
Url Url { __get; __set; }
Property Url() As Url
UserAgent
property UserAgent: String read write;
String UserAgent { get; set; }
var UserAgent: String { get{} set{} }
String UserAgent { __get; __set; }
Property UserAgent() As String
VerifyUntrustedCertificate
// .NET, .NET Core 6.0, .NET Standard 2.0
property VerifyUntrustedCertificate: Func<HttpCertificateInfo, Boolean> read write;
// Island
property VerifyUntrustedCertificate: Func<RemObjects.Elements.RTL.HttpCertificateInfo,RemObjects.Elements.System.Boolean> read write;
// .NET, .NET Core 6.0, .NET Standard 2.0
Func<HttpCertificateInfo, Boolean> VerifyUntrustedCertificate { get; set; }
// Island
Func<RemObjects.Elements.RTL.HttpCertificateInfo,RemObjects.Elements.System.Boolean> VerifyUntrustedCertificate { get; set; }
// .NET, .NET Core 6.0, .NET Standard 2.0
var VerifyUntrustedCertificate: Func<HttpCertificateInfo, Boolean> { get{} set{} }
// Island
var VerifyUntrustedCertificate: Func<RemObjects.Elements.RTL.HttpCertificateInfo,RemObjects.Elements.System.Boolean> { get{} set{} }
// Toffee
var VerifyUntrustedCertificate: |block| { get{} set{} }
// ToffeeV2
var VerifyUntrustedCertificate: Block { get{} set{} }
Func2<HttpCertificateInfo, Boolean> VerifyUntrustedCertificate { __get; __set; }
// .NET, .NET Core 6.0, .NET Standard 2.0
Property VerifyUntrustedCertificate() As Func (Of HttpCertificateInfo, Boolean)
// Island
Property VerifyUntrustedCertificate() As Func<RemObjects.Elements.RTL.HttpCertificateInfo,RemObjects.Elements.System.Boolean>
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
Authentication
property Authentication: IHttpAuthentication read write;
IHttpAuthentication Authentication { get; set; }
var Authentication: IHttpAuthentication { get{} set{} }
IHttpAuthentication Authentication { __get; __set; }
Property Authentication() As IHttpAuthentication
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?
ContentType
property ContentType: nullable String read write;
String? ContentType { get; set; }
// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var ContentType: String? { get{} set{} }
// Toffee
var ContentType: String { get{} set{} }
String ContentType { __get; __set; }
Property ContentType() As String?
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
Headers
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>
Mode
Get or set the request mode (GET, POST etc)
property Mode: HttpRequestMode read write;
HttpRequestMode Mode { get; set; }
var Mode: HttpRequestMode { get{} set{} }
HttpRequestMode Mode { __get; __set; }
Property Mode() As HttpRequestMode
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;
Url! Url { get; set; }
var Url: Url { get{} set{} }
Url Url { __get; __set; }
Property Url() As Url
UserAgent
property UserAgent: String read write;
String UserAgent { get; set; }
var UserAgent: String { get{} set{} }
String UserAgent { __get; __set; }
Property UserAgent() As String
VerifyUntrustedCertificate
// .NET, .NET Core 6.0, .NET Standard 2.0
property VerifyUntrustedCertificate: Func<HttpCertificateInfo, Boolean> read write;
// Island
property VerifyUntrustedCertificate: Func<RemObjects.Elements.RTL.HttpCertificateInfo,RemObjects.Elements.System.Boolean> read write;
// .NET, .NET Core 6.0, .NET Standard 2.0
Func<HttpCertificateInfo, Boolean> VerifyUntrustedCertificate { get; set; }
// Island
Func<RemObjects.Elements.RTL.HttpCertificateInfo,RemObjects.Elements.System.Boolean> VerifyUntrustedCertificate { get; set; }
// .NET, .NET Core 6.0, .NET Standard 2.0
var VerifyUntrustedCertificate: Func<HttpCertificateInfo, Boolean> { get{} set{} }
// Island
var VerifyUntrustedCertificate: Func<RemObjects.Elements.RTL.HttpCertificateInfo,RemObjects.Elements.System.Boolean> { get{} set{} }
// Toffee
var VerifyUntrustedCertificate: |block| { get{} set{} }
// ToffeeV2
var VerifyUntrustedCertificate: Block { get{} set{} }
Func2<HttpCertificateInfo, Boolean> VerifyUntrustedCertificate { __get; __set; }
// .NET, .NET Core 6.0, .NET Standard 2.0
Property VerifyUntrustedCertificate() As Func (Of HttpCertificateInfo, Boolean)
// Island
Property VerifyUntrustedCertificate() As Func<RemObjects.Elements.RTL.HttpCertificateInfo,RemObjects.Elements.System.Boolean>
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:
constructor (not nullable String, HttpRequestMode)
constructor(aUrlString: not nullable String; aMode: HttpRequestMode)
HttpRequest(String! aUrlString, HttpRequestMode aMode)
init(_ aUrlString: String, _ aMode: HttpRequestMode)
HttpRequest(String aUrlString, HttpRequestMode aMode)
Sub New(aUrlString As String, aMode As HttpRequestMode)
Parameters:
- aUrlString:
- aMode:
description override ToffeeV2
Returns a string represnetnation fo this clas.
func description() -> NSString
description description(): NSString override Toffee
func description(description ) -> NSString
Parameters:
- :
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, ToffeeV2
Returns a string represnetnation fo this clas.
method ToString: PlatformString
PlatformString ToString()
func ToString() -> String
Function ToString() As PlatformString
ToString ToString(): String virtual Toffee
func ToString(ToString ) -> String
Parameters:
- :