C# Class Owin.Types.Helpers.OwinHelpers

Exibir arquivo Open project: owin/museum-piece-owin-hosting

Public Methods

Method Description
AddCookie ( OwinResponse response, string key, string value ) : void
AddCookie ( OwinResponse response, string key, string value, CookieOptions options ) : void
AddHeader ( string[]>.IDictionary headers, string key, string value ) : void
AddHeaderJoined ( string[]>.IDictionary headers, string key ) : void
AddHeaderJoined ( string[]>.IDictionary headers, string key, IEnumerable values ) : void
AddHeaderUnmodified ( string[]>.IDictionary headers, string key ) : void
AddHeaderUnmodified ( string[]>.IDictionary headers, string key, IEnumerable values ) : void
ApplyForwardedHost ( OwinRequest request ) : OwinRequest
ApplyForwardedScheme ( OwinRequest request ) : OwinRequest
ApplyForwardedUri ( OwinRequest request ) : OwinRequest
ApplyMethodOverride ( OwinRequest request ) : OwinRequest
DeleteCookie ( OwinResponse response, string key ) : void
DeleteCookie ( OwinResponse response, string key, CookieOptions options ) : void
GetCookies ( OwinRequest request ) : string>.IDictionary
GetForwardedHost ( OwinRequest request ) : string
GetForwardedScheme ( OwinRequest request ) : string
GetForwardedUri ( OwinRequest request ) : Uri
GetHeader ( string[]>.IDictionary headers, string key ) : string
GetHeaderSplit ( string[]>.IDictionary headers, string key ) : IEnumerable
GetHeaderUnmodified ( string[]>.IDictionary headers, string key ) : string[]
GetHost ( OwinRequest request ) : string
GetMethodOverride ( OwinRequest request ) : string
GetUri ( OwinRequest request ) : Uri
SetHeader ( string[]>.IDictionary headers, string key, string value ) : void
SetHeaderJoined ( string[]>.IDictionary headers, string key ) : void
SetHeaderJoined ( string[]>.IDictionary headers, string key, IEnumerable values ) : void
SetHeaderUnmodified ( string[]>.IDictionary headers, string key ) : void
SetHeaderUnmodified ( string[]>.IDictionary headers, string key, IEnumerable values ) : void

Private Methods

Method Description
GetHeaderSplitImplementation ( string values ) : IEnumerable
ParseDelimited ( string text, char delimiters, Action callback, object state ) : void

Method Details

AddCookie() public static method

public static AddCookie ( OwinResponse response, string key, string value ) : void
response OwinResponse
key string
value string
return void

AddCookie() public static method

public static AddCookie ( OwinResponse response, string key, string value, CookieOptions options ) : void
response OwinResponse
key string
value string
options CookieOptions
return void

AddHeader() public static method

public static AddHeader ( string[]>.IDictionary headers, string key, string value ) : void
headers string[]>.IDictionary
key string
value string
return void

AddHeaderJoined() public static method

public static AddHeaderJoined ( string[]>.IDictionary headers, string key ) : void
headers string[]>.IDictionary
key string
return void

AddHeaderJoined() public static method

public static AddHeaderJoined ( string[]>.IDictionary headers, string key, IEnumerable values ) : void
headers string[]>.IDictionary
key string
values IEnumerable
return void

AddHeaderUnmodified() public static method

public static AddHeaderUnmodified ( string[]>.IDictionary headers, string key ) : void
headers string[]>.IDictionary
key string
return void

AddHeaderUnmodified() public static method

public static AddHeaderUnmodified ( string[]>.IDictionary headers, string key, IEnumerable values ) : void
headers string[]>.IDictionary
key string
values IEnumerable
return void

ApplyForwardedHost() public static method

public static ApplyForwardedHost ( OwinRequest request ) : OwinRequest
request OwinRequest
return OwinRequest

ApplyForwardedScheme() public static method

public static ApplyForwardedScheme ( OwinRequest request ) : OwinRequest
request OwinRequest
return OwinRequest

ApplyForwardedUri() public static method

public static ApplyForwardedUri ( OwinRequest request ) : OwinRequest
request OwinRequest
return OwinRequest

ApplyMethodOverride() public static method

public static ApplyMethodOverride ( OwinRequest request ) : OwinRequest
request OwinRequest
return OwinRequest

DeleteCookie() public static method

public static DeleteCookie ( OwinResponse response, string key ) : void
response OwinResponse
key string
return void

DeleteCookie() public static method

public static DeleteCookie ( OwinResponse response, string key, CookieOptions options ) : void
response OwinResponse
key string
options CookieOptions
return void

GetCookies() public static method

public static GetCookies ( OwinRequest request ) : string>.IDictionary
request OwinRequest
return string>.IDictionary

GetForwardedHost() public static method

public static GetForwardedHost ( OwinRequest request ) : string
request OwinRequest
return string

GetForwardedScheme() public static method

public static GetForwardedScheme ( OwinRequest request ) : string
request OwinRequest
return string

GetForwardedUri() public static method

public static GetForwardedUri ( OwinRequest request ) : Uri
request OwinRequest
return System.Uri

GetHeader() public static method

public static GetHeader ( string[]>.IDictionary headers, string key ) : string
headers string[]>.IDictionary
key string
return string

GetHeaderSplit() public static method

public static GetHeaderSplit ( string[]>.IDictionary headers, string key ) : IEnumerable
headers string[]>.IDictionary
key string
return IEnumerable

GetHeaderUnmodified() public static method

public static GetHeaderUnmodified ( string[]>.IDictionary headers, string key ) : string[]
headers string[]>.IDictionary
key string
return string[]

GetHost() public static method

public static GetHost ( OwinRequest request ) : string
request OwinRequest
return string

GetMethodOverride() public static method

public static GetMethodOverride ( OwinRequest request ) : string
request OwinRequest
return string

GetUri() public static method

public static GetUri ( OwinRequest request ) : Uri
request OwinRequest
return System.Uri

SetHeader() public static method

public static SetHeader ( string[]>.IDictionary headers, string key, string value ) : void
headers string[]>.IDictionary
key string
value string
return void

SetHeaderJoined() public static method

public static SetHeaderJoined ( string[]>.IDictionary headers, string key ) : void
headers string[]>.IDictionary
key string
return void

SetHeaderJoined() public static method

public static SetHeaderJoined ( string[]>.IDictionary headers, string key, IEnumerable values ) : void
headers string[]>.IDictionary
key string
values IEnumerable
return void

SetHeaderUnmodified() public static method

public static SetHeaderUnmodified ( string[]>.IDictionary headers, string key ) : void
headers string[]>.IDictionary
key string
return void

SetHeaderUnmodified() public static method

public static SetHeaderUnmodified ( string[]>.IDictionary headers, string key, IEnumerable values ) : void
headers string[]>.IDictionary
key string
values IEnumerable
return void