public OwinContext(IDictionary<string,object> env)
 {
     Variables = env;
     Request = new OwinRequest(env, (IDictionary<string,string[]>)env[OwinKeys.RequestHeaders], (Stream)env[OwinKeys.RequestBody]);
     Response = new OwinResponse();
 }
Exemple #2
0
 public OwinContext(IDictionary <string, object> env, IDictionary <string, string[]> requestHeaders, Stream inputStream)
 {
     Variables = env;
     Request   = new OwinRequest(env, requestHeaders, inputStream);
     Response  = new OwinResponse();
 }
 public OwinContext(IDictionary<string,object> env, IDictionary<string,string[]> requestHeaders, Stream inputStream)
 {
     Variables = env;
     Request = new OwinRequest(env, requestHeaders, inputStream);
     Response = new OwinResponse();
 }
Exemple #4
0
 public OwinContext(IDictionary <string, object> env)
 {
     Variables = env;
     Request   = new OwinRequest(env, (IDictionary <string, string[]>)env[OwinKeys.RequestHeaders], (Stream)env[OwinKeys.RequestBody]);
     Response  = new OwinResponse();
 }