Member group
.ctor
Declaring type: HttpContent
Module: System.Web.Http
Assembly: System.Web.dll
Source file: HttpClient.rvn
Overloads / Variants
.ctor
protected init() -> void
Source file: HttpClient.rvn
No documentation available.
.ctor
protected init(bytes: Sequence<byte>, contentType: MediaType) -> void
Source file: HttpClient.rvn
Parameters
| Name | Type | Description |
|---|---|---|
bytes |
Sequence<Byte> | |
contentType |
MediaType |
.ctor
protected init(bytes: Sequence<byte>, contentType: string) -> void
Source file: HttpClient.rvn
Wraps bytes and an outbound Content-Type; socket validation occurs before I/O.
Parameters
| Name | Type | Description |
|---|---|---|
bytes |
Sequence<Byte> | |
contentType |
String |
.ctor
protected init(bytes: Sequence<byte>) -> void
Source file: HttpClient.rvn
Parameters
| Name | Type | Description |
|---|---|---|
bytes |
Sequence<Byte> |
.ctor
protected init(contentType: MediaType) -> void
Source file: HttpClient.rvn
Parameters
| Name | Type | Description |
|---|---|---|
contentType |
MediaType |
.ctor
protected init(contentType: string) -> void
Source file: HttpClient.rvn
Parameters
| Name | Type | Description |
|---|---|---|
contentType |
String |
.ctor
protected init(stream: InputStream, length: int, leaveOpen: bool) -> void
Source file: HttpClient.rvn
Parameters
| Name | Type | Description |
|---|---|---|
stream |
InputStream | |
length |
Int32 | |
leaveOpen |
Boolean |