메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 |
public static DropsConnection ( this stump ) : |
||
stump | this | The |
리턴 |
public static MatchingBody ( this stump, byte buffer ) : |
||
stump | this | The |
buffer | byte | The array of bytes for the body. |
리턴 |
public static MatchingBodyContaining ( this stump, string text ) : |
||
stump | this | The |
text | string | The text that must be contained within the body. |
리턴 |
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. |
리턴 |
public static MatchingMethod ( this stump, string httpMethod ) : |
||
stump | this | The |
httpMethod | string | The HTTP method to match. |
리턴 |
public static MatchingRule ( this stump, IStumpRule rule ) : |
||
stump | this | The |
rule | IStumpRule | The |
리턴 |
public static Responds ( this stump ) : |
||
stump | this | The |
리턴 |