C# Class Stumps.MockHandler

Inheritance: IHttpHandler
Show file Open project: Cayan-LLC/stumps Class Usage Examples

Public Methods

Method Description
AddHeader ( string headerName, string headerValue ) : void
MockHandler ( ) : System
ProcessRequest ( IStumpsHttpContext context ) : Task
UpdateBody ( string value ) : void

Method Details

AddHeader() public method

public AddHeader ( string headerName, string headerValue ) : void
headerName string
headerValue string
return void

MockHandler() public method

public MockHandler ( ) : System
return System

ProcessRequest() public method

public ProcessRequest ( IStumpsHttpContext context ) : Task
context IStumpsHttpContext
return Task

UpdateBody() public method

public UpdateBody ( string value ) : void
value string
return void