Url Constructor (Protocol, IpEndPoint, String, String)C# API
Initialises a new instance of the Url class, with the specified protocol, ipEndPoint (host/port), path and queryText string.

Namespace: Facilita.Web
Assembly: clrWebBrowser (in clrWebBrowser.dll) Version: 9.5.8.37 (1.0.0.0)
Syntax

public Url(
	Protocol protocol,
	IpEndPoint ipEndPoint,
	string path,
	string queryText
)

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.
queryText
Type: System String
A percent-encoded string of key/value pairs to be appended to the URL, separated by the & character.
Examples

The following example demonstrates creating a Url from a protocol, IpEndPoint (host and port), path and queryData.
IpEndPoint myServer = new IpEndPoint("www.myCompany.co.uk", 8080);
Url url = new Url(Protocol.HTTP, myServer, "index.php", "sessionID=12345");
// This refers to http://www.myCompany.co.uk:8080/index.php?sessionID=12345
See Also