Пример #1
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();
 }
Пример #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();
 }
Пример #3
0
 public OwinContext(IDictionary<string,object> env, IDictionary<string,string[]> requestHeaders, Stream inputStream)
 {
     Variables = env;
     Request = new OwinRequest(env, requestHeaders, inputStream);
     Response = new OwinResponse();
 }
Пример #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();
 }