6 references to GetProtocol
System.Web (6)
HttpRequest.cs (5)
1893
string u = _wr.
GetProtocol
() + "://" + serverAndPort + Path + q;
1905
return _wr.
GetProtocol
() + "://" + serverName + Path + q;
1908
return _wr.
GetProtocol
() + "://" + serverName + ":" + _wr.GetLocalPortAsString() + Path + q;
1945
url = UriUtil.BuildUri(_wr.
GetProtocol
(), Uri.UnescapeDataString(serverAndPort), null /* port */, pathAccessor(), q);
1957
url = UriUtil.BuildUri(_wr.
GetProtocol
(), Uri.UnescapeDataString(serverName), _wr.GetLocalPortAsString(), pathAccessor(), q);
WebSockets\WebSocketUtil.cs (1)
38
bool urisCreatedSuccessfully = Uri.TryCreate(workerRequest.
GetProtocol
() + "://" + hostHeader.Trim(), UriKind.Absolute, out hostHeaderUri) // RFC 2616 (Sec. 14.23): "Host" header doesn't contain the scheme, so we need to prepend