Overview

Class to hold binary request data for http requests.

Location

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

HttpBinaryRequestContent()
HttpBinaryRequestContent()

constructor (not nullable array of Byte, nullable String)

constructor(aArray: not nullable array of Byte; aContentType: nullable String := nil)
HttpBinaryRequestContent(Byte[]! aArray, String? aContentType = null)
// Toffee
init(_ aArray: Byte..., _ aContentType: String = nil)
// ToffeeV2
init(_ aArray: Byte..., _ aContentType: String? = nil)
HttpBinaryRequestContent(Byte[] aArray, String aContentType)
Sub New(aArray As Byte(), aContentType As String? = Null)

Parameters:

  • aArray:
  • aContentType:

constructor (not nullable ImmutableBinary, nullable String)

constructor(aBinary: not nullable ImmutableBinary; aContentType: nullable String := nil)
HttpBinaryRequestContent(ImmutableBinary! aBinary, String? aContentType = null)
// Toffee
init(_ aBinary: ImmutableBinary, _ aContentType: String = nil)
// ToffeeV2
init(_ aBinary: ImmutableBinary, _ aContentType: String? = nil)
HttpBinaryRequestContent(ImmutableBinary aBinary, String aContentType)
Sub New(aBinary As ImmutableBinary, aContentType As String? = Null)

Parameters:

  • aBinary:
  • aContentType:

constructor (not nullable String, nullable Encoding, nullable String)

constructor(aString: not nullable String; aEncoding: nullable Encoding := nil; aContentType: nullable String := nil)
HttpBinaryRequestContent(String! aString, Encoding? aEncoding = null, String? aContentType = null)
// Toffee
init(_ aString: String, _ aEncoding: Encoding = nil, _ aContentType: String = nil)
// ToffeeV2
init(_ aString: String, _ aEncoding: Encoding? = nil, _ aContentType: String? = nil)
HttpBinaryRequestContent(String aString, Encoding aEncoding, String aContentType)
Sub New(aString As String, aEncoding As Encoding? = Null, aContentType As String? = Null)

Parameters:

  • aString:
  • 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

GetContentAsArray Cooper, Island, Toffee, ToffeeV2

Returns the content.

method GetContentAsArray: array of Byte
Byte[] GetContentAsArray()
func GetContentAsArray() -> Byte...
Byte[] GetContentAsArray()
Function GetContentAsArray() As Byte()

GetContentAsBinary Cooper, Island, Toffee, ToffeeV2

Returns the content.

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

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?

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

HttpBinaryRequestContent()
HttpBinaryRequestContent()

constructor (not nullable array of Byte, nullable String)

constructor(aArray: not nullable array of Byte; aContentType: nullable String := nil)
HttpBinaryRequestContent(Byte[]! aArray, String? aContentType = null)
// Toffee
init(_ aArray: Byte..., _ aContentType: String = nil)
// ToffeeV2
init(_ aArray: Byte..., _ aContentType: String? = nil)
HttpBinaryRequestContent(Byte[] aArray, String aContentType)
Sub New(aArray As Byte(), aContentType As String? = Null)

Parameters:

  • aArray:
  • aContentType:

constructor (not nullable ImmutableBinary, nullable String)

constructor(aBinary: not nullable ImmutableBinary; aContentType: nullable String := nil)
HttpBinaryRequestContent(ImmutableBinary! aBinary, String? aContentType = null)
// Toffee
init(_ aBinary: ImmutableBinary, _ aContentType: String = nil)
// ToffeeV2
init(_ aBinary: ImmutableBinary, _ aContentType: String? = nil)
HttpBinaryRequestContent(ImmutableBinary aBinary, String aContentType)
Sub New(aBinary As ImmutableBinary, aContentType As String? = Null)

Parameters:

  • aBinary:
  • aContentType:

constructor (not nullable String, nullable Encoding, nullable String)

constructor(aString: not nullable String; aEncoding: nullable Encoding := nil; aContentType: nullable String := nil)
HttpBinaryRequestContent(String! aString, Encoding? aEncoding = null, String? aContentType = null)
// Toffee
init(_ aString: String, _ aEncoding: Encoding = nil, _ aContentType: String = nil)
// ToffeeV2
init(_ aString: String, _ aEncoding: Encoding? = nil, _ aContentType: String? = nil)
HttpBinaryRequestContent(String aString, Encoding aEncoding, String aContentType)
Sub New(aString As String, aEncoding As Encoding? = Null, aContentType As String? = Null)

Parameters:

  • aString:
  • aEncoding:
  • aContentType:

description  override Toffee, ToffeeV2

func description() -> NSString

GetContentAsArray Cooper, Island, Toffee, ToffeeV2

Returns the content.

method GetContentAsArray: array of Byte
Byte[] GetContentAsArray()
func GetContentAsArray() -> Byte...
Byte[] GetContentAsArray()
Function GetContentAsArray() As Byte()

GetContentAsBinary Cooper, Island, Toffee, ToffeeV2

Returns the content.

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