메소드 | 설명 | |
---|---|---|
AppendToBody ( byte buffer ) : void |
Appends a byte array to the body of the HTTP response.
|
|
AppendToBody ( string value ) : void |
Appends a string value to the body of the HTTP response. The value will be converted to a byte array using UTF8 encoding. |
|
AppendToBody ( string value, |
Appends a string value to the body of the HTTP response using a specified encoding.
|
|
BasicHttpResponse ( ) : System |
Initializes a new instance of the T:Stumps.BasicHttpResponse class.
|
|
ClearBody ( ) : void |
Clears the existing body of the HTTP response.
|
|
GetBody ( ) : byte[] |
Gets the bytes for the HTTP body.
|
|
GetBodyAsString ( ) : string |
Gets the body of the HTTP response as a T:System.String. The body is decoded using UTF8 encoding. |
|
GetBodyAsString ( |
Gets the body of the HTTP response as a T:System.String. The body is decoded using UTF8 encoding. |
public AppendToBody ( byte buffer ) : void | ||
buffer | byte | The bytes to append to the body of the response. |
리턴 | void |
public AppendToBody ( string value ) : void | ||
value | string | The value to append to the body of the HTTP response. |
리턴 | void |
public AppendToBody ( string value, |
||
value | string | The value to append to the body of the HTTP response. |
encoding | The encoding used to convert the |
|
리턴 | void |
public GetBodyAsString ( |
||
encoding | The encoding used to convert the HTTP body into a |
|
리턴 | string |