public ShimDataRequestMessage(SendingRequest2EventArgs args) { _args = args; WebRequest = ShimWebHelpers.AddHeaders(HttpWebRequest.CreateHttp(_args.RequestMessage.Url), _args.RequestMessage.Headers); WebRequest.Method = _args.RequestMessage.Method; }
public ShimDataRequestMessage(SendingRequest2EventArgs args) { this._args = args; this.WebRequest = ShimWebHelpers.AddHeaders(System.Net.WebRequest.CreateHttp(this._args.get_RequestMessage().get_Url()), this._args.get_RequestMessage().get_Headers()); this.WebRequest.Method = this._args.get_RequestMessage().get_Method(); }
public ShimDataRequestMessage(DataServiceClientRequestMessageArgs args) { this.WebRequest = ShimWebHelpers.AddHeaders(System.Net.WebRequest.CreateHttp(args.get_RequestUri()), args.get_Headers()); this.WebRequest.Method = args.get_Method(); }
public ShimDataRequestMessage(DataServiceClientRequestMessageArgs args) { WebRequest = ShimWebHelpers.AddHeaders(HttpWebRequest.CreateHttp(args.RequestUri), args.Headers); WebRequest.Method = args.Method; }