Method | Description | |
---|---|---|
DelayedBy ( this stump, int delayMilliseconds ) : |
Specifies the amount of time the server delays before responding with the Stump.
|
|
DropsConnection ( this stump ) : |
Asserts that the T:Stumps.Stump will drop the connection immediately.
|
|
MatchingBody ( this stump, byte buffer ) : |
Requires the incoming HTTP request to match the specified body.
|
|
MatchingBodyContaining ( this stump, string text ) : |
Requires the incoming HTTP request to contain the specified text in the body.
|
|
MatchingHeader ( this stump, string headerName, string headerValue ) : |
Requires the incoming HTTP request to match the specified header.
|
|
MatchingMethod ( this stump, string httpMethod ) : |
Requires the incoming HTTP request to match the specified HTTP method.
|
|
MatchingRule ( this stump, IStumpRule rule ) : |
Requires the incoming HTTP request to match the specified T:Stumps.IStumpRule.
|
|
Responds ( this stump ) : |
Asserts that the T:Stumps.Stump will respond with a T:Stumps.BasicHttpResponse.
|
Method | Description | |
---|---|---|
CreateMd5Hash ( byte buffer ) : string |
Creates an MD5 hash for the specified bytes.
|
|
MatchingUrl ( this stump, string url ) : |
public static DelayedBy ( this stump, int delayMilliseconds ) : |
||
stump | this | The |
delayMilliseconds | int | The amount of time, in milliseconds, the response is delayed. |
return |
public static DropsConnection ( this stump ) : |
||
stump | this | The |
return |
public static MatchingBody ( this stump, byte buffer ) : |
||
stump | this | The |
buffer | byte | The array of bytes for the body. |
return |
public static MatchingBodyContaining ( this stump, string text ) : |
||
stump | this | The |
text | string | The text that must be contained within the body. |
return |
public static MatchingHeader ( this stump, string headerName, string headerValue ) : |
||
stump | this | The |
headerName | string | The name of the header to match. |
headerValue | string | The value of the header to match. |
return |
public static MatchingMethod ( this stump, string httpMethod ) : |
||
stump | this | The |
httpMethod | string | The HTTP method to match. |
return |
public static MatchingRule ( this stump, IStumpRule rule ) : |
||
stump | this | The |
rule | IStumpRule | The |
return |
public static Responds ( this stump ) : |
||
stump | this | The |
return |