C# 클래스 Crowbar.CrowbarHttpRequest

Represents the request of an HTTP worker.
상속: ICrowbarHttpRequest
파일 보기 프로젝트 열기: mrydengren/crowbar

공개 메소드들

메소드 설명
CrowbarHttpRequest ( string path, IHttpPayload payload ) : System

Creates an instance of CrowbarHttpRequest. The requested path. The payload.

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

비공개 메소드들

메소드 설명
CreateContentTypeHeader ( ) : string
CreateCookieHeader ( ) : string
CreateKnownRequestHeaderValue ( int index ) : string

메소드 상세

CrowbarHttpRequest() 공개 메소드

Creates an instance of CrowbarHttpRequest. The requested path. The payload.
public CrowbarHttpRequest ( string path, IHttpPayload payload ) : System
path string
payload IHttpPayload
리턴 System

GetHeader() 공개 메소드

public GetHeader ( string name, int index = -1 ) : string
name string
index int
리턴 string

GetHeaderNames() 공개 메소드

public GetHeaderNames ( ) : IEnumerable
리턴 IEnumerable

GetMethod() 공개 메소드

public GetMethod ( ) : string
리턴 string

GetProtocol() 공개 메소드

public GetProtocol ( ) : string
리턴 string

GetRequestBody() 공개 메소드

public GetRequestBody ( ) : string
리턴 string

GetUrl() 공개 메소드

public GetUrl ( string rawUrl ) : string
rawUrl string
리턴 string