internal ClientHttpWebRequestInternal (ClientHttpWebRequest wreq, Uri uri) : base (wreq, uri) { Credentials = wreq.Credentials; request = create.Invoke (null, new object [] { uri }); headers = get_headers.Invoke (request, null); set_method.Invoke (request, new object [] { Method } ); }
internal ClientHttpWebRequestInternal(ClientHttpWebRequest wreq, Uri uri) : base(wreq, uri) { Credentials = wreq.Credentials; request = create.Invoke(null, new object [] { uri }); headers = get_headers.Invoke(request, null); set_method.Invoke(request, new object [] { Method }); if (Accept != null) { set_accept.Invoke(request, new object [] { Accept }); } }