C# Class Crowbar.CrowbarHttpRequestCapture

Provides funtionality for capturing the raw HTTP request.
Inheritance: ICrowbarHttpRequest
Show file Open project: mrydengren/crowbar Class Usage Examples

Public Methods

Method Description
CrowbarHttpRequestCapture ( ICrowbarHttpRequest request ) : System.Collections.Generic

Creates an instance of CrowbarHttpRequestCapture.

GetHeader ( string name, int index ) : string
GetHeaderNames ( ) : IEnumerable
GetMethod ( ) : string
GetProtocol ( ) : string
GetRequestBody ( ) : string
GetUrl ( string rawUrl ) : string
ToString ( ) : string

Method Details

CrowbarHttpRequestCapture() public method

Creates an instance of CrowbarHttpRequestCapture.
public CrowbarHttpRequestCapture ( ICrowbarHttpRequest request ) : System.Collections.Generic
request ICrowbarHttpRequest The request.
return System.Collections.Generic

GetHeader() public method

public GetHeader ( string name, int index ) : string
name string
index int
return string

GetHeaderNames() public method

public GetHeaderNames ( ) : IEnumerable
return IEnumerable

GetMethod() public method

public GetMethod ( ) : string
return string

GetProtocol() public method

public GetProtocol ( ) : string
return string

GetRequestBody() public method

public GetRequestBody ( ) : string
return string

GetUrl() public method

public GetUrl ( string rawUrl ) : string
rawUrl string
return string

ToString() public method

public ToString ( ) : string
return string