Http

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard
    • elements.jar  Iodine
    • Elements.fx  Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Standard, Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee

 

constructor  protected Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows

 

constructor()

 

Http()

 

init()

 

Http()

ExecuteRequest  virtual

 

class method ExecuteRequest(aRequest: not nullable HttpRequest; ResponseCallback: not nullable HttpResponseBlock)

 

static void ExecuteRequest(HttpRequest! aRequest, HttpResponseBlock! ResponseCallback)

 

static func ExecuteRequest(_ aRequest: HttpRequest, _ ResponseCallback: HttpResponseBlock)

 

static void ExecuteRequest(HttpRequest! aRequest, HttpResponseBlock! ResponseCallback)

Parameters:

  • aRequest:
  • ResponseCallback:

ExecuteRequestAndSaveAsFile  virtual

 

class method ExecuteRequestAndSaveAsFile(aRequest: not nullable HttpRequest; aTargetFile: not nullable File; contentCallback: not nullable HttpContentResponseBlock<File>)

 

static void ExecuteRequestAndSaveAsFile(HttpRequest! aRequest, File! aTargetFile, HttpContentResponseBlock<File>! contentCallback)

 

static func ExecuteRequestAndSaveAsFile(_ aRequest: HttpRequest, _ aTargetFile: File, _ contentCallback: HttpContentResponseBlock<File>)

 

static void ExecuteRequestAndSaveAsFile(HttpRequest! aRequest, File! aTargetFile, HttpContentResponseBlock<File>! contentCallback)

Parameters:

  • aRequest:
  • aTargetFile:
  • contentCallback:

ExecuteRequestAsBinary  virtual

 

class method ExecuteRequestAsBinary(aRequest: not nullable HttpRequest; contentCallback: not nullable HttpContentResponseBlock<ImmutableBinary>)

 

static void ExecuteRequestAsBinary(HttpRequest! aRequest, HttpContentResponseBlock<ImmutableBinary>! contentCallback)

 

static func ExecuteRequestAsBinary(_ aRequest: HttpRequest, _ contentCallback: HttpContentResponseBlock<ImmutableBinary>)

 

static void ExecuteRequestAsBinary(HttpRequest! aRequest, HttpContentResponseBlock<ImmutableBinary>! contentCallback)

Parameters:

  • aRequest:
  • contentCallback:

ExecuteRequestAsJson  virtual

 

class method ExecuteRequestAsJson(aRequest: not nullable HttpRequest; contentCallback: not nullable HttpContentResponseBlock<JsonDocument>)

 

static void ExecuteRequestAsJson(HttpRequest! aRequest, HttpContentResponseBlock<JsonDocument>! contentCallback)

 

static func ExecuteRequestAsJson(_ aRequest: HttpRequest, _ contentCallback: HttpContentResponseBlock<JsonDocument>)

 

static void ExecuteRequestAsJson(HttpRequest! aRequest, HttpContentResponseBlock<JsonDocument>! contentCallback)

Parameters:

  • aRequest:
  • contentCallback:

ExecuteRequestAsString  virtual

 

class method ExecuteRequestAsString(aEncoding: Encoding; aRequest: not nullable HttpRequest; contentCallback: not nullable HttpContentResponseBlock<String>)

 

static void ExecuteRequestAsString(Encoding aEncoding, HttpRequest! aRequest, HttpContentResponseBlock<String>! contentCallback)

 

static func ExecuteRequestAsString(_ aEncoding: Encoding, _ aRequest: HttpRequest, _ contentCallback: HttpContentResponseBlock<String>)

 

static void ExecuteRequestAsString(Encoding aEncoding, HttpRequest! aRequest, HttpContentResponseBlock<String>! contentCallback)

Parameters:

  • aEncoding:
  • aRequest:
  • contentCallback:

ExecuteRequestAsXml  virtual

 

class method ExecuteRequestAsXml(aRequest: not nullable HttpRequest; contentCallback: not nullable HttpContentResponseBlock<XmlDocument>)

 

static void ExecuteRequestAsXml(HttpRequest! aRequest, HttpContentResponseBlock<XmlDocument>! contentCallback)

 

static func ExecuteRequestAsXml(_ aRequest: HttpRequest, _ contentCallback: HttpContentResponseBlock<XmlDocument>)

 

static void ExecuteRequestAsXml(HttpRequest! aRequest, HttpContentResponseBlock<XmlDocument>! contentCallback)

Parameters:

  • aRequest:
  • contentCallback:

ExecuteRequestSynchronous  virtual

 

class method ExecuteRequestSynchronous(aRequest: not nullable HttpRequest): not nullable HttpResponse

 

static HttpResponse! ExecuteRequestSynchronous(HttpRequest! aRequest)

 

static func ExecuteRequestSynchronous(_ aRequest: HttpRequest) -> HttpResponse

 

static HttpResponse! ExecuteRequestSynchronous(HttpRequest! aRequest)

Parameters:

  • aRequest:

GetBinary  virtual

 

class method GetBinary(aRequest: not nullable HttpRequest): not nullable ImmutableBinary

 

static ImmutableBinary! GetBinary(HttpRequest! aRequest)

 

static func GetBinary(_ aRequest: HttpRequest) -> ImmutableBinary

 

static ImmutableBinary! GetBinary(HttpRequest! aRequest)

Parameters:

  • aRequest:

GetJson  virtual

 

class method GetJson(aRequest: not nullable HttpRequest): not nullable JsonDocument

 

static JsonDocument! GetJson(HttpRequest! aRequest)

 

static func GetJson(_ aRequest: HttpRequest) -> JsonDocument

 

static JsonDocument! GetJson(HttpRequest! aRequest)

Parameters:

  • aRequest:

GetString  virtual

 

class method GetString(aEncoding: Encoding; aRequest: not nullable HttpRequest): not nullable String

 

static String! GetString(Encoding aEncoding, HttpRequest! aRequest)

 

static func GetString(_ aEncoding: Encoding, _ aRequest: HttpRequest) -> String

 

static String! GetString(Encoding aEncoding, HttpRequest! aRequest)

Parameters:

  • aEncoding:
  • aRequest:

GetXml  virtual

 

class method GetXml(aRequest: not nullable HttpRequest): not nullable XmlDocument

 

static XmlDocument! GetXml(HttpRequest! aRequest)

 

static func GetXml(_ aRequest: HttpRequest) -> XmlDocument

 

static XmlDocument! GetXml(HttpRequest! aRequest)

Parameters:

  • aRequest:

TryExecuteRequestSynchronous  virtual

 

class method TryExecuteRequestSynchronous(aRequest: not nullable HttpRequest): nullable HttpResponse

 

static HttpResponse? TryExecuteRequestSynchronous(HttpRequest! aRequest)

 

static func TryExecuteRequestSynchronous(_ aRequest: HttpRequest) -> HttpResponse

 

static HttpResponse TryExecuteRequestSynchronous(HttpRequest! aRequest)

Parameters:

  • aRequest:

TryGetJson  virtual

 

class method TryGetJson(aRequest: not nullable HttpRequest): nullable JsonDocument

 

static JsonDocument? TryGetJson(HttpRequest! aRequest)

 

static func TryGetJson(_ aRequest: HttpRequest) -> JsonDocument

 

static JsonDocument TryGetJson(HttpRequest! aRequest)

Parameters:

  • aRequest:

TryGetXml  virtual

 

class method TryGetXml(aRequest: not nullable HttpRequest): nullable XmlDocument

 

static XmlDocument? TryGetXml(HttpRequest! aRequest)

 

static func TryGetXml(_ aRequest: HttpRequest) -> XmlDocument

 

static XmlDocument TryGetXml(HttpRequest! aRequest)

Parameters:

  • aRequest:

 

ExecuteRequest  virtual

 

class method ExecuteRequest(aRequest: not nullable HttpRequest; ResponseCallback: not nullable HttpResponseBlock)

 

static void ExecuteRequest(HttpRequest! aRequest, HttpResponseBlock! ResponseCallback)

 

static func ExecuteRequest(_ aRequest: HttpRequest, _ ResponseCallback: HttpResponseBlock)

 

static void ExecuteRequest(HttpRequest! aRequest, HttpResponseBlock! ResponseCallback)

Parameters:

  • aRequest:
  • ResponseCallback:

ExecuteRequestAndSaveAsFile  virtual

 

class method ExecuteRequestAndSaveAsFile(aRequest: not nullable HttpRequest; aTargetFile: not nullable File; contentCallback: not nullable HttpContentResponseBlock<File>)

 

static void ExecuteRequestAndSaveAsFile(HttpRequest! aRequest, File! aTargetFile, HttpContentResponseBlock<File>! contentCallback)

 

static func ExecuteRequestAndSaveAsFile(_ aRequest: HttpRequest, _ aTargetFile: File, _ contentCallback: HttpContentResponseBlock<File>)

 

static void ExecuteRequestAndSaveAsFile(HttpRequest! aRequest, File! aTargetFile, HttpContentResponseBlock<File>! contentCallback)

Parameters:

  • aRequest:
  • aTargetFile:
  • contentCallback:

ExecuteRequestAsBinary  virtual

 

class method ExecuteRequestAsBinary(aRequest: not nullable HttpRequest; contentCallback: not nullable HttpContentResponseBlock<ImmutableBinary>)

 

static void ExecuteRequestAsBinary(HttpRequest! aRequest, HttpContentResponseBlock<ImmutableBinary>! contentCallback)

 

static func ExecuteRequestAsBinary(_ aRequest: HttpRequest, _ contentCallback: HttpContentResponseBlock<ImmutableBinary>)

 

static void ExecuteRequestAsBinary(HttpRequest! aRequest, HttpContentResponseBlock<ImmutableBinary>! contentCallback)

Parameters:

  • aRequest:
  • contentCallback:

ExecuteRequestAsJson  virtual

 

class method ExecuteRequestAsJson(aRequest: not nullable HttpRequest; contentCallback: not nullable HttpContentResponseBlock<JsonDocument>)

 

static void ExecuteRequestAsJson(HttpRequest! aRequest, HttpContentResponseBlock<JsonDocument>! contentCallback)

 

static func ExecuteRequestAsJson(_ aRequest: HttpRequest, _ contentCallback: HttpContentResponseBlock<JsonDocument>)

 

static void ExecuteRequestAsJson(HttpRequest! aRequest, HttpContentResponseBlock<JsonDocument>! contentCallback)

Parameters:

  • aRequest:
  • contentCallback:

ExecuteRequestAsString  virtual

 

class method ExecuteRequestAsString(aEncoding: Encoding; aRequest: not nullable HttpRequest; contentCallback: not nullable HttpContentResponseBlock<String>)

 

static void ExecuteRequestAsString(Encoding aEncoding, HttpRequest! aRequest, HttpContentResponseBlock<String>! contentCallback)

 

static func ExecuteRequestAsString(_ aEncoding: Encoding, _ aRequest: HttpRequest, _ contentCallback: HttpContentResponseBlock<String>)

 

static void ExecuteRequestAsString(Encoding aEncoding, HttpRequest! aRequest, HttpContentResponseBlock<String>! contentCallback)

Parameters:

  • aEncoding:
  • aRequest:
  • contentCallback:

ExecuteRequestAsXml  virtual

 

class method ExecuteRequestAsXml(aRequest: not nullable HttpRequest; contentCallback: not nullable HttpContentResponseBlock<XmlDocument>)

 

static void ExecuteRequestAsXml(HttpRequest! aRequest, HttpContentResponseBlock<XmlDocument>! contentCallback)

 

static func ExecuteRequestAsXml(_ aRequest: HttpRequest, _ contentCallback: HttpContentResponseBlock<XmlDocument>)

 

static void ExecuteRequestAsXml(HttpRequest! aRequest, HttpContentResponseBlock<XmlDocument>! contentCallback)

Parameters:

  • aRequest:
  • contentCallback:

ExecuteRequestSynchronous  virtual

 

class method ExecuteRequestSynchronous(aRequest: not nullable HttpRequest): not nullable HttpResponse

 

static HttpResponse! ExecuteRequestSynchronous(HttpRequest! aRequest)

 

static func ExecuteRequestSynchronous(_ aRequest: HttpRequest) -> HttpResponse

 

static HttpResponse! ExecuteRequestSynchronous(HttpRequest! aRequest)

Parameters:

  • aRequest:

GetBinary  virtual

 

class method GetBinary(aRequest: not nullable HttpRequest): not nullable ImmutableBinary

 

static ImmutableBinary! GetBinary(HttpRequest! aRequest)

 

static func GetBinary(_ aRequest: HttpRequest) -> ImmutableBinary

 

static ImmutableBinary! GetBinary(HttpRequest! aRequest)

Parameters:

  • aRequest:

GetJson  virtual

 

class method GetJson(aRequest: not nullable HttpRequest): not nullable JsonDocument

 

static JsonDocument! GetJson(HttpRequest! aRequest)

 

static func GetJson(_ aRequest: HttpRequest) -> JsonDocument

 

static JsonDocument! GetJson(HttpRequest! aRequest)

Parameters:

  • aRequest:

GetString  virtual

 

class method GetString(aEncoding: Encoding; aRequest: not nullable HttpRequest): not nullable String

 

static String! GetString(Encoding aEncoding, HttpRequest! aRequest)

 

static func GetString(_ aEncoding: Encoding, _ aRequest: HttpRequest) -> String

 

static String! GetString(Encoding aEncoding, HttpRequest! aRequest)

Parameters:

  • aEncoding:
  • aRequest:

GetXml  virtual

 

class method GetXml(aRequest: not nullable HttpRequest): not nullable XmlDocument

 

static XmlDocument! GetXml(HttpRequest! aRequest)

 

static func GetXml(_ aRequest: HttpRequest) -> XmlDocument

 

static XmlDocument! GetXml(HttpRequest! aRequest)

Parameters:

  • aRequest:

TryExecuteRequestSynchronous  virtual

 

class method TryExecuteRequestSynchronous(aRequest: not nullable HttpRequest): nullable HttpResponse

 

static HttpResponse? TryExecuteRequestSynchronous(HttpRequest! aRequest)

 

static func TryExecuteRequestSynchronous(_ aRequest: HttpRequest) -> HttpResponse

 

static HttpResponse TryExecuteRequestSynchronous(HttpRequest! aRequest)

Parameters:

  • aRequest:

TryGetJson  virtual

 

class method TryGetJson(aRequest: not nullable HttpRequest): nullable JsonDocument

 

static JsonDocument? TryGetJson(HttpRequest! aRequest)

 

static func TryGetJson(_ aRequest: HttpRequest) -> JsonDocument

 

static JsonDocument TryGetJson(HttpRequest! aRequest)

Parameters:

  • aRequest:

TryGetXml  virtual

 

class method TryGetXml(aRequest: not nullable HttpRequest): nullable XmlDocument

 

static XmlDocument? TryGetXml(HttpRequest! aRequest)

 

static func TryGetXml(_ aRequest: HttpRequest) -> XmlDocument

 

static XmlDocument TryGetXml(HttpRequest! aRequest)

Parameters:

  • aRequest:

 

constructor  protected Iodine, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-watchOS, Island-watchOS Simulator, Island-Windows

 

constructor()

 

Http()

 

init()

 

Http()