예제 #1
0
 internal OwinEnvironment(IDictionary<string, object> env)
 {
     _environment = env;
     RequestHeaders = new RequestHeaders((IDictionary<string, string[]>)_environment[OwinKeys.RequestHeaders]);
     ResponseHeaders = new ResponseHeaders((IDictionary<string, string[]>) _environment[OwinKeys.ResponseHeaders]);
 }
예제 #2
0
 internal OwinEnvironment(IDictionary <string, object> env)
 {
     _environment    = env;
     RequestHeaders  = new RequestHeaders((IDictionary <string, string[]>)_environment[OwinKeys.RequestHeaders]);
     ResponseHeaders = new ResponseHeaders((IDictionary <string, string[]>)_environment[OwinKeys.ResponseHeaders]);
 }
예제 #3
0
 public void Setup()
 {
     _headerDictionary = new Dictionary<string, string[]>(StringComparer.OrdinalIgnoreCase); //Per OWIN 1.0 spec.
     _requestHeaders = new RequestHeaders(_headerDictionary);
 }