Inheritance: PolicyBasedWebRequest
コード例 #1
0
		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 } );
		}
コード例 #2
0
        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 });
            }
        }