HttpBinaryRequestContent
Overview
Class to hold binary request data for http requests.
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 | HttpBinaryRequestContent
constructor (declared in HttpRequestContent) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island
constructor
HttpBinaryRequestContent()
init()
HttpBinaryRequestContent()
Sub New()
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(aString: not nullable String; aEncoding: Encoding; aContentType: nullable String := nil)
HttpBinaryRequestContent(String! aString, Encoding aEncoding, String? aContentType = null)
// Toffee
init(_ aString: String, _ aEncoding: Encoding, _ aContentType: String = nil)
// ToffeeV2
init(_ aString: String, _ aEncoding: Encoding, _ aContentType: String? = nil)
HttpBinaryRequestContent(String aString, Encoding aEncoding, String aContentType)
Sub New(aString As String, aEncoding As Encoding, aContentType As String? = Null)
Parameters:
- aString:
- aEncoding:
- aContentType:
ContentType virtual
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?
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
ContentType virtual
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 (declared in HttpRequestContent) .NET, .NET Core 6.0, .NET Standard 2.0, Cooper, Island
constructor
HttpBinaryRequestContent()
init()
HttpBinaryRequestContent()
Sub New()
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(aString: not nullable String; aEncoding: Encoding; aContentType: nullable String := nil)
HttpBinaryRequestContent(String! aString, Encoding aEncoding, String? aContentType = null)
// Toffee
init(_ aString: String, _ aEncoding: Encoding, _ aContentType: String = nil)
// ToffeeV2
init(_ aString: String, _ aEncoding: Encoding, _ aContentType: String? = nil)
HttpBinaryRequestContent(String aString, Encoding aEncoding, String aContentType)
Sub New(aString As String, aEncoding As Encoding, aContentType As String? = Null)
Parameters:
- aString:
- aEncoding:
- aContentType:
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