C# 클래스 Owin.Response

상속: IResponse
파일 보기 프로젝트 열기: remitaylor/knack 1 사용 예제들

공개 메소드들

메소드 설명
AddHeader ( string key, IEnumerable value ) : Response

Set header, adding to any other values this header may have

AddHeader ( string key, string value ) : Response

Set header with a string, adding to any other values this header may have

AddHeaders ( string>.IDictionary headers ) : void
AddHeaders ( IDictionary headers ) : void
AddToBody ( ) : Response

Set the body to one or many objects, adding to any other values the body may have

Clear ( ) : void
GetBody ( ) : IEnumerable
GetHeader ( string key ) : string

Returns the first value of the given header or null if the header does not exist

Redirect ( int statusCode, string location ) : Response
Redirect ( string location ) : Response
Response ( ) : System
Response ( IResponse response ) : System
Response ( int statusCode, string>.IDictionary headers ) : System
Response ( int statusCode, IDictionary headers ) : System
Response ( int statusCode, string bodyText, string>.IDictionary headers ) : System
Response ( int statusCode, string bodyText, IDictionary headers ) : System
Response ( string bodyText ) : System
Response ( string bodyText, string>.IDictionary headers ) : System
Response ( string bodyText, IDictionary headers ) : System
Response ( string bodyText, int statusCode ) : System
Response ( string bodyText, string status ) : System
SetBody ( ) : Response

Set the body to one or many objects, overriding any other values the body may have

SetHeader ( string key, IEnumerable value ) : Response

Set header, overriding any other values this header may have

SetHeader ( string key, string value ) : Response

Set header with a string, overriding any other values this header may have

SetStatus ( int statusCode ) : Response
SetStatus ( string status ) : Response
SetValidDefaults ( ) : void
Write ( string writeToBody ) : Response

메소드 상세

AddHeader() 공개 메소드

Set header, adding to any other values this header may have
public AddHeader ( string key, IEnumerable value ) : Response
key string
value IEnumerable
리턴 Response

AddHeader() 공개 메소드

Set header with a string, adding to any other values this header may have
public AddHeader ( string key, string value ) : Response
key string
value string
리턴 Response

AddHeaders() 공개 메소드

public AddHeaders ( string>.IDictionary headers ) : void
headers string>.IDictionary
리턴 void

AddHeaders() 공개 메소드

public AddHeaders ( IDictionary headers ) : void
headers IDictionary
리턴 void

AddToBody() 공개 메소드

Set the body to one or many objects, adding to any other values the body may have
public AddToBody ( ) : Response
리턴 Response

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

GetBody() 공개 메소드

public GetBody ( ) : IEnumerable
리턴 IEnumerable

GetHeader() 공개 메소드

Returns the first value of the given header or null if the header does not exist
public GetHeader ( string key ) : string
key string
리턴 string

Redirect() 공개 메소드

public Redirect ( int statusCode, string location ) : Response
statusCode int
location string
리턴 Response

Redirect() 공개 메소드

public Redirect ( string location ) : Response
location string
리턴 Response

Response() 공개 메소드

public Response ( ) : System
리턴 System

Response() 공개 메소드

public Response ( IResponse response ) : System
response IResponse
리턴 System

Response() 공개 메소드

public Response ( int statusCode, string>.IDictionary headers ) : System
statusCode int
headers string>.IDictionary
리턴 System

Response() 공개 메소드

public Response ( int statusCode, IDictionary headers ) : System
statusCode int
headers IDictionary
리턴 System

Response() 공개 메소드

public Response ( int statusCode, string bodyText, string>.IDictionary headers ) : System
statusCode int
bodyText string
headers string>.IDictionary
리턴 System

Response() 공개 메소드

public Response ( int statusCode, string bodyText, IDictionary headers ) : System
statusCode int
bodyText string
headers IDictionary
리턴 System

Response() 공개 메소드

public Response ( string bodyText ) : System
bodyText string
리턴 System

Response() 공개 메소드

public Response ( string bodyText, string>.IDictionary headers ) : System
bodyText string
headers string>.IDictionary
리턴 System

Response() 공개 메소드

public Response ( string bodyText, IDictionary headers ) : System
bodyText string
headers IDictionary
리턴 System

Response() 공개 메소드

public Response ( string bodyText, int statusCode ) : System
bodyText string
statusCode int
리턴 System

Response() 공개 메소드

public Response ( string bodyText, string status ) : System
bodyText string
status string
리턴 System

SetBody() 공개 메소드

Set the body to one or many objects, overriding any other values the body may have
public SetBody ( ) : Response
리턴 Response

SetHeader() 공개 메소드

Set header, overriding any other values this header may have
public SetHeader ( string key, IEnumerable value ) : Response
key string
value IEnumerable
리턴 Response

SetHeader() 공개 메소드

Set header with a string, overriding any other values this header may have
public SetHeader ( string key, string value ) : Response
key string
value string
리턴 Response

SetStatus() 공개 메소드

public SetStatus ( int statusCode ) : Response
statusCode int
리턴 Response

SetStatus() 공개 메소드

public SetStatus ( string status ) : Response
status string
리턴 Response

SetValidDefaults() 공개 메소드

public SetValidDefaults ( ) : void
리턴 void

Write() 공개 메소드

public Write ( string writeToBody ) : Response
writeToBody string
리턴 Response