C# Class Owin.Types.Helpers.OwinHelpers

Afficher le fichier Open project: owin/museum-piece-owin-hosting

Méthodes publiques

Méthode 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

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

Method Details

AddCookie() public static méthode

public static AddCookie ( OwinResponse response, string key, string value ) : void
response OwinResponse
key string
value string
Résultat void

AddCookie() public static méthode

public static AddCookie ( OwinResponse response, string key, string value, CookieOptions options ) : void
response OwinResponse
key string
value string
options CookieOptions
Résultat void

AddHeader() public static méthode

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

AddHeaderJoined() public static méthode

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

AddHeaderJoined() public static méthode

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

AddHeaderUnmodified() public static méthode

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

AddHeaderUnmodified() public static méthode

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

ApplyForwardedHost() public static méthode

public static ApplyForwardedHost ( OwinRequest request ) : OwinRequest
request OwinRequest
Résultat OwinRequest

ApplyForwardedScheme() public static méthode

public static ApplyForwardedScheme ( OwinRequest request ) : OwinRequest
request OwinRequest
Résultat OwinRequest

ApplyForwardedUri() public static méthode

public static ApplyForwardedUri ( OwinRequest request ) : OwinRequest
request OwinRequest
Résultat OwinRequest

ApplyMethodOverride() public static méthode

public static ApplyMethodOverride ( OwinRequest request ) : OwinRequest
request OwinRequest
Résultat OwinRequest

DeleteCookie() public static méthode

public static DeleteCookie ( OwinResponse response, string key ) : void
response OwinResponse
key string
Résultat void

DeleteCookie() public static méthode

public static DeleteCookie ( OwinResponse response, string key, CookieOptions options ) : void
response OwinResponse
key string
options CookieOptions
Résultat void

GetCookies() public static méthode

public static GetCookies ( OwinRequest request ) : string>.IDictionary
request OwinRequest
Résultat string>.IDictionary

GetForwardedHost() public static méthode

public static GetForwardedHost ( OwinRequest request ) : string
request OwinRequest
Résultat string

GetForwardedScheme() public static méthode

public static GetForwardedScheme ( OwinRequest request ) : string
request OwinRequest
Résultat string

GetForwardedUri() public static méthode

public static GetForwardedUri ( OwinRequest request ) : Uri
request OwinRequest
Résultat System.Uri

GetHeader() public static méthode

public static GetHeader ( string[]>.IDictionary headers, string key ) : string
headers string[]>.IDictionary
key string
Résultat string

GetHeaderSplit() public static méthode

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

GetHeaderUnmodified() public static méthode

public static GetHeaderUnmodified ( string[]>.IDictionary headers, string key ) : string[]
headers string[]>.IDictionary
key string
Résultat string[]

GetHost() public static méthode

public static GetHost ( OwinRequest request ) : string
request OwinRequest
Résultat string

GetMethodOverride() public static méthode

public static GetMethodOverride ( OwinRequest request ) : string
request OwinRequest
Résultat string

GetUri() public static méthode

public static GetUri ( OwinRequest request ) : Uri
request OwinRequest
Résultat System.Uri

SetHeader() public static méthode

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

SetHeaderJoined() public static méthode

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

SetHeaderJoined() public static méthode

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

SetHeaderUnmodified() public static méthode

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

SetHeaderUnmodified() public static méthode

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