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    (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

 

property ContentType: nullable String read;

 

String? ContentType { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var ContentType: String? { get{} }
// Toffee
var ContentType: String { get{} }

 

String ContentType { __get; }

 

ReadOnly Property ContentType() As String?

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

 

ContentType  virtual

 

property ContentType: nullable String read;

 

String? ContentType { get; }

 

// .NET, .NET Core 6.0, .NET Standard 2.0, Island, ToffeeV2
var ContentType: String? { get{} }
// Toffee
var ContentType: String { get{} }

 

String ContentType { __get; }

 

ReadOnly 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    (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:

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