Method | Description | |
---|---|---|
DoMsgRoundTrip ( string msg_send, string msg_expect ) : void |
Send a message through the TCP channel, and expect it to return unchanged Useful for testing I/O levels 1 and 2. This method must be called between Setup() and TearDown(). |
|
ParseHttpHeaders ( string header ) : HttpHeaders |
Parse a HTTP header after sending it through the TCP channel This method must be called between Setup() and TearDown(). |
|
ParseHttpRequestLine ( string rq_line ) : |
Parse a HTTP header after sending it through the TCP channel This method must be called between Setup() and TearDown(). |
|
ParseHttpStatusLine ( string status_line ) : |
Parse a HTTP status line after sending it through the TCP channel This method must be called between Setup() and TearDown(). |
|
Setup ( bool UseIPv6 ) : void |
Set up a simple server that echoes everything it receives back to the sender
|
|
TearDown ( ) : void |
Stop the server started by Setup()
|
public static DoMsgRoundTrip ( string msg_send, string msg_expect ) : void | ||
msg_send | string | |
msg_expect | string | |
return | void |
public static ParseHttpHeaders ( string header ) : HttpHeaders | ||
header | string | |
return | HttpHeaders |
public static ParseHttpRequestLine ( string rq_line ) : |
||
rq_line | string | |
return |
public static ParseHttpStatusLine ( string status_line ) : |
||
status_line | string | |
return |