프로퍼티 | 타입 | 설명 | |
---|---|---|---|
EmptyBody | byte[] | ||
HeartbeatFrame |
프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
Frame ( string command, string>.IEnumerable |
Constructor.
|
|
GetAllHeaderValues ( string name ) : IEnumerable |
Gets all the values of the specified header.
|
|
GetBodyAsString ( ) : string |
Get body as a string using UTF-8 encoding.
|
|
GetBodyAsString ( |
Get body as a string using the specified encoding.
|
|
GetHeader ( string name ) : string |
Gets the value of the first ocurrence of the specified header.
|
|
ToString ( ) : string |
String representation of the Frame.
|
메소드 | 설명 | |
---|---|---|
ThrowMandatoryHeaderException ( string headerName ) : void |
Create and throws the exception used when a mandatory header is not included.
|
public Frame ( string command, string>.IEnumerable |
||
command | string | Frame command. |
headers | string>.IEnumerable | Frame headers. |
body | byte | Frame body. |
리턴 | System |
public GetAllHeaderValues ( string name ) : IEnumerable |
||
name | string | Name of the header. |
리턴 | IEnumerable |
public GetBodyAsString ( |
||
encoding | Encoding to be used to decode the message body. | |
리턴 | string |
public GetHeader ( string name ) : string | ||
name | string | Name of the header. |
리턴 | string |
protected static ThrowMandatoryHeaderException ( string headerName ) : void | ||
headerName | string | Name of the mandatory header. |
리턴 | void |