Пример #1
0
 public Request(string method, string uri, StreamedWWWForm form){
     this.method = method;
     this.uri = new Uri (uri);
     this.byteStream = form.stream;
     foreach ( DictionaryEntry entry in form.headers )
     {
         this.AddHeader( (string)entry.Key, (string)entry.Value );
     }
 }
Пример #2
0
 public Request(string method, string uri, StreamedWWWForm form)
 {
     this.method     = method;
     this.uri        = new Uri(uri);
     this.byteStream = form.stream;
     foreach (DictionaryEntry entry in form.headers)
     {
         this.AddHeader((string)entry.Key, (string)entry.Value);
     }
 }