HttpResponse

Overview

Location

  • Reference:
    • Elements.dll  .NET, .NET Standard 2.0
    • elements.jar  Cooper
    • 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-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2
    • libElements.fx  Toffee
  • Namespace: RemObjects.Elements.RTL
  • Platforms: .NET, .NET Standard 2.0, Cooper, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, Toffee, ToffeeV2

 

Code

 

property Code: Int32 read;

 

Int32 Code { get; }

 

var Code: Int32 { get{} }

 

Integer Code { __get; }

Dispose .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2

 

method Dispose

 

void Dispose()

 

func Dispose()

Exception

 

// .NET, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
property Exception: Exception read write;
// Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator
property Exception: RemObjects.Elements.System.Island.Exception read write;

 

// .NET, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
Exception Exception { get; set; }
// Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator
RemObjects.Elements.System.Island.Exception Exception { get; set; }

 

// .NET, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
var Exception: Exception { get{} set{} }
// Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator
var Exception: RemObjects.Elements.System.Island.Exception { get{} set{} }
// Toffee, ToffeeV2
var Exception: Exception { get{} set{} }

 

Exception Exception { __get; __set; }

Finalize  protected .NET, .NET Standard 2.0

 

method Finalize

 

void Finalize()

 

func Finalize()

GetContentAsBinary

 

method GetContentAsBinary(contentCallback: not nullable HttpContentResponseBlock<ImmutableBinary>)

 

void GetContentAsBinary(HttpContentResponseBlock<ImmutableBinary>! contentCallback)

 

func GetContentAsBinary(_ contentCallback: HttpContentResponseBlock<ImmutableBinary>)

 

void GetContentAsBinary(HttpContentResponseBlock<ImmutableBinary>! contentCallback)

Parameters:

  • contentCallback:

GetContentAsBinarySynchronous

 

method GetContentAsBinarySynchronous: not nullable ImmutableBinary

 

ImmutableBinary! GetContentAsBinarySynchronous()

 

func GetContentAsBinarySynchronous() -> ImmutableBinary

 

ImmutableBinary! GetContentAsBinarySynchronous()

GetContentAsJson

 

method GetContentAsJson(contentCallback: not nullable HttpContentResponseBlock<JsonDocument>)

 

void GetContentAsJson(HttpContentResponseBlock<JsonDocument>! contentCallback)

 

func GetContentAsJson(_ contentCallback: HttpContentResponseBlock<JsonDocument>)

 

void GetContentAsJson(HttpContentResponseBlock<JsonDocument>! contentCallback)

Parameters:

  • contentCallback:

GetContentAsJsonSynchronous

 

method GetContentAsJsonSynchronous: not nullable JsonDocument

 

JsonDocument! GetContentAsJsonSynchronous()

 

func GetContentAsJsonSynchronous() -> JsonDocument

 

JsonDocument! GetContentAsJsonSynchronous()

GetContentAsString

 

method GetContentAsString(aEncoding: Encoding; contentCallback: not nullable HttpContentResponseBlock<String>)

 

void GetContentAsString(Encoding aEncoding, HttpContentResponseBlock<String>! contentCallback)

 

func GetContentAsString(_ aEncoding: Encoding, _ contentCallback: HttpContentResponseBlock<String>)

 

void GetContentAsString(Encoding aEncoding, HttpContentResponseBlock<String>! contentCallback)

Parameters:

  • aEncoding:
  • contentCallback:

GetContentAsStringSynchronous

 

method GetContentAsStringSynchronous(aEncoding: Encoding): not nullable String

 

String! GetContentAsStringSynchronous(Encoding aEncoding)

 

func GetContentAsStringSynchronous(_ aEncoding: Encoding) -> String

 

String! GetContentAsStringSynchronous(Encoding aEncoding)

Parameters:

  • aEncoding:

GetContentAsXml

 

method GetContentAsXml(contentCallback: not nullable HttpContentResponseBlock<XmlDocument>)

 

void GetContentAsXml(HttpContentResponseBlock<XmlDocument>! contentCallback)

 

func GetContentAsXml(_ contentCallback: HttpContentResponseBlock<XmlDocument>)

 

void GetContentAsXml(HttpContentResponseBlock<XmlDocument>! contentCallback)

Parameters:

  • contentCallback:

GetContentAsXmlSynchronous

 

method GetContentAsXmlSynchronous: not nullable XmlDocument

 

XmlDocument! GetContentAsXmlSynchronous()

 

func GetContentAsXmlSynchronous() -> XmlDocument

 

XmlDocument! GetContentAsXmlSynchronous()

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; }

SaveContentAsFile

 

method SaveContentAsFile(aTargetFile: File; contentCallback: not nullable HttpContentResponseBlock<File>)

 

void SaveContentAsFile(File aTargetFile, HttpContentResponseBlock<File>! contentCallback)

 

func SaveContentAsFile(_ aTargetFile: File, _ contentCallback: HttpContentResponseBlock<File>)

 

void SaveContentAsFile(File aTargetFile, HttpContentResponseBlock<File>! contentCallback)

Parameters:

  • aTargetFile:
  • contentCallback:

SaveContentAsFileSynchronous

 

method SaveContentAsFileSynchronous(aTargetFile: File)

 

void SaveContentAsFileSynchronous(File aTargetFile)

 

func SaveContentAsFileSynchronous(_ aTargetFile: File)

 

void SaveContentAsFileSynchronous(File aTargetFile)

Parameters:

  • aTargetFile:

Success

 

property Success: Boolean read;

 

Boolean Success { get; }

 

var Success: Boolean { get{} }

 

Boolean Success { __get; }

TryGetContentAsJsonSynchronous

 

method TryGetContentAsJsonSynchronous: nullable JsonDocument

 

JsonDocument? TryGetContentAsJsonSynchronous()

 

// Toffee
func TryGetContentAsJsonSynchronous() -> JsonDocument
// ToffeeV2
func TryGetContentAsJsonSynchronous() -> JsonDocument?

 

JsonDocument TryGetContentAsJsonSynchronous()

TryGetContentAsXmlSynchronous

 

method TryGetContentAsXmlSynchronous: nullable XmlDocument

 

XmlDocument? TryGetContentAsXmlSynchronous()

 

// Toffee
func TryGetContentAsXmlSynchronous() -> XmlDocument
// ToffeeV2
func TryGetContentAsXmlSynchronous() -> XmlDocument?

 

XmlDocument TryGetContentAsXmlSynchronous()

 

Code

 

property Code: Int32 read;

 

Int32 Code { get; }

 

var Code: Int32 { get{} }

 

Integer Code { __get; }

Exception

 

// .NET, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
property Exception: Exception read write;
// Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator
property Exception: RemObjects.Elements.System.Island.Exception read write;

 

// .NET, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
Exception Exception { get; set; }
// Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator
RemObjects.Elements.System.Island.Exception Exception { get; set; }

 

// .NET, .NET Standard 2.0, Island-Android, Island-Ubuntu, Island-Windows
var Exception: Exception { get{} set{} }
// Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator
var Exception: RemObjects.Elements.System.Island.Exception { get{} set{} }
// Toffee, ToffeeV2
var Exception: Exception { get{} set{} }

 

Exception Exception { __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; }

Success

 

property Success: Boolean read;

 

Boolean Success { get; }

 

var Success: Boolean { get{} }

 

Boolean Success { __get; }

 

Dispose .NET, .NET Standard 2.0, Island-Android, Island-iOS, Island-iOS Simulator-x86_64, Island-macOS-x86_64, Island-tvOS, Island-tvOS Simulator-x86_64, Island-Ubuntu, Island-UIKit for Mac-x86_64, Island-watchOS, Island-watchOS Simulator, Island-Windows, ToffeeV2

 

method Dispose

 

void Dispose()

 

func Dispose()

Finalize  protected .NET, .NET Standard 2.0

 

method Finalize

 

void Finalize()

 

func Finalize()

GetContentAsBinary

 

method GetContentAsBinary(contentCallback: not nullable HttpContentResponseBlock<ImmutableBinary>)

 

void GetContentAsBinary(HttpContentResponseBlock<ImmutableBinary>! contentCallback)

 

func GetContentAsBinary(_ contentCallback: HttpContentResponseBlock<ImmutableBinary>)

 

void GetContentAsBinary(HttpContentResponseBlock<ImmutableBinary>! contentCallback)

Parameters:

  • contentCallback:

GetContentAsBinarySynchronous

 

method GetContentAsBinarySynchronous: not nullable ImmutableBinary

 

ImmutableBinary! GetContentAsBinarySynchronous()

 

func GetContentAsBinarySynchronous() -> ImmutableBinary

 

ImmutableBinary! GetContentAsBinarySynchronous()

GetContentAsJson

 

method GetContentAsJson(contentCallback: not nullable HttpContentResponseBlock<JsonDocument>)

 

void GetContentAsJson(HttpContentResponseBlock<JsonDocument>! contentCallback)

 

func GetContentAsJson(_ contentCallback: HttpContentResponseBlock<JsonDocument>)

 

void GetContentAsJson(HttpContentResponseBlock<JsonDocument>! contentCallback)

Parameters:

  • contentCallback:

GetContentAsJsonSynchronous

 

method GetContentAsJsonSynchronous: not nullable JsonDocument

 

JsonDocument! GetContentAsJsonSynchronous()

 

func GetContentAsJsonSynchronous() -> JsonDocument

 

JsonDocument! GetContentAsJsonSynchronous()

GetContentAsString

 

method GetContentAsString(aEncoding: Encoding; contentCallback: not nullable HttpContentResponseBlock<String>)

 

void GetContentAsString(Encoding aEncoding, HttpContentResponseBlock<String>! contentCallback)

 

func GetContentAsString(_ aEncoding: Encoding, _ contentCallback: HttpContentResponseBlock<String>)

 

void GetContentAsString(Encoding aEncoding, HttpContentResponseBlock<String>! contentCallback)

Parameters:

  • aEncoding:
  • contentCallback:

GetContentAsStringSynchronous

 

method GetContentAsStringSynchronous(aEncoding: Encoding): not nullable String

 

String! GetContentAsStringSynchronous(Encoding aEncoding)

 

func GetContentAsStringSynchronous(_ aEncoding: Encoding) -> String

 

String! GetContentAsStringSynchronous(Encoding aEncoding)

Parameters:

  • aEncoding:

GetContentAsXml

 

method GetContentAsXml(contentCallback: not nullable HttpContentResponseBlock<XmlDocument>)

 

void GetContentAsXml(HttpContentResponseBlock<XmlDocument>! contentCallback)

 

func GetContentAsXml(_ contentCallback: HttpContentResponseBlock<XmlDocument>)

 

void GetContentAsXml(HttpContentResponseBlock<XmlDocument>! contentCallback)

Parameters:

  • contentCallback:

GetContentAsXmlSynchronous

 

method GetContentAsXmlSynchronous: not nullable XmlDocument

 

XmlDocument! GetContentAsXmlSynchronous()

 

func GetContentAsXmlSynchronous() -> XmlDocument

 

XmlDocument! GetContentAsXmlSynchronous()

SaveContentAsFile

 

method SaveContentAsFile(aTargetFile: File; contentCallback: not nullable HttpContentResponseBlock<File>)

 

void SaveContentAsFile(File aTargetFile, HttpContentResponseBlock<File>! contentCallback)

 

func SaveContentAsFile(_ aTargetFile: File, _ contentCallback: HttpContentResponseBlock<File>)

 

void SaveContentAsFile(File aTargetFile, HttpContentResponseBlock<File>! contentCallback)

Parameters:

  • aTargetFile:
  • contentCallback:

SaveContentAsFileSynchronous

 

method SaveContentAsFileSynchronous(aTargetFile: File)

 

void SaveContentAsFileSynchronous(File aTargetFile)

 

func SaveContentAsFileSynchronous(_ aTargetFile: File)

 

void SaveContentAsFileSynchronous(File aTargetFile)

Parameters:

  • aTargetFile:

TryGetContentAsJsonSynchronous

 

method TryGetContentAsJsonSynchronous: nullable JsonDocument

 

JsonDocument? TryGetContentAsJsonSynchronous()

 

// Toffee
func TryGetContentAsJsonSynchronous() -> JsonDocument
// ToffeeV2
func TryGetContentAsJsonSynchronous() -> JsonDocument?

 

JsonDocument TryGetContentAsJsonSynchronous()

TryGetContentAsXmlSynchronous

 

method TryGetContentAsXmlSynchronous: nullable XmlDocument

 

XmlDocument? TryGetContentAsXmlSynchronous()

 

// Toffee
func TryGetContentAsXmlSynchronous() -> XmlDocument
// ToffeeV2
func TryGetContentAsXmlSynchronous() -> XmlDocument?

 

XmlDocument TryGetContentAsXmlSynchronous()