C# Class PeerCastStation.UI.HTTP.OWINEnv

Show file Open project: kumaryu/peercaststation Class Usage Examples

Public Methods

Method Description
AddResponseHeader ( string key, string value ) : void
GetAuthorizationToken ( ) : string
OWINEnv ( object>.IDictionary env ) : PeerCastStation.Core
SetResponseBodyAsync ( string str, CancellationToken cancel_token ) : Task
SetResponseHeader ( string key, string value ) : void
SetResponseStatusCode ( HttpStatusCode status_code ) : void

Method Details

AddResponseHeader() public method

public AddResponseHeader ( string key, string value ) : void
key string
value string
return void

GetAuthorizationToken() public method

public GetAuthorizationToken ( ) : string
return string

OWINEnv() public method

public OWINEnv ( object>.IDictionary env ) : PeerCastStation.Core
env object>.IDictionary
return PeerCastStation.Core

SetResponseBodyAsync() public method

public SetResponseBodyAsync ( string str, CancellationToken cancel_token ) : Task
str string
cancel_token System.Threading.CancellationToken
return Task

SetResponseHeader() public method

public SetResponseHeader ( string key, string value ) : void
key string
value string
return void

SetResponseStatusCode() public method

public SetResponseStatusCode ( HttpStatusCode status_code ) : void
status_code HttpStatusCode
return void