Initialises a new instance of the Url class, with the specified protocol, ipEndPoint (host/port), path and QueryData object.
The queryData object will be percent-encoded using the supplied list of unsafeCharacters.
Namespace: Facilita.WebAssembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.7.98 (1.0.0.0)
Syntax
public Url( Protocol protocol, IpEndPoint ipEndPoint, string path, QueryData queryData, string unsafeCharacters )
Parameters
- protocol
- Type: Facilita.Web Protocol
The protocol to use.
- ipEndPoint
- Type: Facilita.Native IpEndPoint
The hostname/IP address and port.
- path
- Type: System String
The path to be appended to the URL.
- queryData
- Type: Facilita.Web QueryData
A collection of key/value pairs to be appended to the URL.
- unsafeCharacters
- Type: System String
A list of unsafe characters that will be percent-encoded in the query data of the URL.
Examples
QueryData queryData = new QueryData(); queryData.Add("sessionID", "12345"); IpEndPoint myServer = new IpEndPoint("www.myCompany.co.uk", 8080); Url url = new Url(Protocol.HTTP, myServer, "index.php", queryData, "<>\"%{}|\\^[]` \n\t\r&"); // This refers to http://www.myCompany.co.uk:8080/index.php?sessionID=12345
See Also