public CrossAppDomainRequestData(string httpVersion, string httpVerbName, CrossAppDomainAddressAndPort local, CrossAppDomainAddressAndPort remote, string rawUrl, string uriPath, string queryString, IDictionary <string, string> headers, byte[] body) { HttpVersion = httpVersion; HttpVerbName = httpVerbName; Local = Argument.NotNull("local", local); Remote = Argument.NotNull("remote", remote); RawUrl = rawUrl; UriPath = uriPath; QueryString = queryString; Headers = new ReadOnlyDictionary <string, string>(Argument.NotNull("headers", headers)); Body = body; }
public CrossAppDomainRequestData(string httpVersion, string httpVerbName, CrossAppDomainAddressAndPort local, CrossAppDomainAddressAndPort remote, string rawUrl, string uriPath, string queryString, IDictionary<string, string> headers, byte[] body) { HttpVersion = httpVersion; HttpVerbName = httpVerbName; Local = Argument.NotNull("local", local); Remote = Argument.NotNull("remote", remote); RawUrl = rawUrl; UriPath = uriPath; QueryString = queryString; Headers = new ReadOnlyDictionary<string, string>(Argument.NotNull("headers", headers)); Body = body; }