HttpJsonRequestContent

Overview

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
  • Ancestry: HttpRequestContent | HttpJsonRequestContent


 

constructor  protected    (declared in HttpRequestContent) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island

 

constructor

 

HttpJsonRequestContent()

 

init()

 

HttpJsonRequestContent()

 

Sub New()

constructor (not nullable JsonDocument, Encoding, nullable String)

 

constructor(aJson: not nullable JsonDocument; aEncoding: Encoding := nil; aContentType: nullable String := nil)

 

HttpJsonRequestContent(JsonDocument! aJson, Encoding aEncoding = null, String? aContentType = null)

 

// Toffee
init(_ aJson: JsonDocument, _ aEncoding: Encoding = nil, _ aContentType: String = nil)
// ToffeeV2
init(_ aJson: JsonDocument, _ aEncoding: Encoding = nil, _ aContentType: String? = nil)

 

HttpJsonRequestContent(JsonDocument aJson, Encoding aEncoding, String aContentType)

 

Sub New(aJson As JsonDocument, aEncoding As Encoding = Null, aContentType As String? = Null)

Parameters:

  • aJson:
  • aEncoding:
  • aContentType:

ContentType  virtual    (declared in HttpRequestContent)

 

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 Toffee, ToffeeV2

 

func description() -> NSString

Encoding

 

property Encoding: Encoding read;

 

Encoding Encoding { get; }

 

var Encoding: Encoding { get{} }

 

Encoding Encoding { __get; }

 

ReadOnly Property Encoding() As Encoding

GetContentAsArray Cooper, Island, Toffee, ToffeeV2

 

method GetContentAsArray: array of Byte

 

Byte[] GetContentAsArray()

 

func GetContentAsArray() -> Byte...

 

Byte[] GetContentAsArray()

 

Function GetContentAsArray() As Byte()

GetContentAsBinary Cooper, Island, Toffee, ToffeeV2

 

method GetContentAsBinary: ImmutableBinary

 

ImmutableBinary GetContentAsBinary()

 

func GetContentAsBinary() -> ImmutableBinary

 

ImmutableBinary GetContentAsBinary()

 

Function GetContentAsBinary() As ImmutableBinary

Json

 

property Json: not nullable JsonDocument read;

 

JsonDocument! Json { get; }

 

var Json: JsonDocument { get{} }

 

JsonDocument Json { __get; }

 

ReadOnly Property Json() As JsonDocument

ToString  override

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

PlatformString ToString()

 

Function ToString() As PlatformString

 

ContentType  virtual    (declared in HttpRequestContent)

 

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?

Encoding

 

property Encoding: Encoding read;

 

Encoding Encoding { get; }

 

var Encoding: Encoding { get{} }

 

Encoding Encoding { __get; }

 

ReadOnly Property Encoding() As Encoding

Json

 

property Json: not nullable JsonDocument read;

 

JsonDocument! Json { get; }

 

var Json: JsonDocument { get{} }

 

JsonDocument Json { __get; }

 

ReadOnly Property Json() As JsonDocument

 

constructor  protected    (declared in HttpRequestContent) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island

 

constructor

 

HttpJsonRequestContent()

 

init()

 

HttpJsonRequestContent()

 

Sub New()

constructor (not nullable JsonDocument, Encoding, nullable String)

 

constructor(aJson: not nullable JsonDocument; aEncoding: Encoding := nil; aContentType: nullable String := nil)

 

HttpJsonRequestContent(JsonDocument! aJson, Encoding aEncoding = null, String? aContentType = null)

 

// Toffee
init(_ aJson: JsonDocument, _ aEncoding: Encoding = nil, _ aContentType: String = nil)
// ToffeeV2
init(_ aJson: JsonDocument, _ aEncoding: Encoding = nil, _ aContentType: String? = nil)

 

HttpJsonRequestContent(JsonDocument aJson, Encoding aEncoding, String aContentType)

 

Sub New(aJson As JsonDocument, aEncoding As Encoding = Null, aContentType As String? = Null)

Parameters:

  • aJson:
  • aEncoding:
  • aContentType:

description  override Toffee, ToffeeV2

 

func description() -> NSString

GetContentAsArray Cooper, Island, Toffee, ToffeeV2

 

method GetContentAsArray: array of Byte

 

Byte[] GetContentAsArray()

 

func GetContentAsArray() -> Byte...

 

Byte[] GetContentAsArray()

 

Function GetContentAsArray() As Byte()

GetContentAsBinary Cooper, Island, Toffee, ToffeeV2

 

method GetContentAsBinary: ImmutableBinary

 

ImmutableBinary GetContentAsBinary()

 

func GetContentAsBinary() -> ImmutableBinary

 

ImmutableBinary GetContentAsBinary()

 

Function GetContentAsBinary() As ImmutableBinary

ToString  override

 

method ToString: PlatformString

 

PlatformString ToString()

 

func ToString() -> String

 

PlatformString ToString()

 

Function ToString() As PlatformString