Pomona.PomonaRequest.PomonaRequest C# (CSharp) Method

PomonaRequest() public method

public PomonaRequest ( string url, string relativePath, HttpMethod method = HttpMethod.Get, RequestHeaders headers = null, Stream body = null, DynamicDictionary query = null ) : System
url string
relativePath string
method HttpMethod
headers RequestHeaders
body Stream
query DynamicDictionary
return System
        public PomonaRequest(string url,
                             string relativePath,
                             HttpMethod method = HttpMethod.Get,
                             RequestHeaders headers = null,
                             Stream body = null,
                             DynamicDictionary query = null)
        {
            if (url == null)
                throw new ArgumentNullException(nameof(url));
            Method = method;
            Url = url;
            RelativePath = relativePath;
            Body = body;
            this.headers = headers;
            Query = query ?? new DynamicDictionary();
        }
PomonaRequest