Classes | |
class | Bracketed |
class | Host |
either a domain name (as defined in DNS RFC 1034) or an IP address More... | |
class | PortCfg |
class | ProtocolVersion |
class | TrafficMode |
class | Uri |
class | UriScheme |
Typedefs | |
typedef RefCount< PortCfg > | PortCfgPointer |
using | KnownPort = uint16_t |
validated/supported port number; these values are never zero More... | |
using | Port = std::optional< KnownPort > |
validated/supported port number (if any) More... | |
Enumerations | |
enum | ProtocolType { PROTO_NONE = 0, PROTO_HTTP, PROTO_FTP, PROTO_HTTPS, PROTO_COAP, PROTO_COAPS, PROTO_WAIS, PROTO_ICP, PROTO_HTCP, PROTO_URN, PROTO_WHOIS, PROTO_ICY, PROTO_TLS, PROTO_SSL, PROTO_AUTHORITY_FORM, PROTO_UNKNOWN, PROTO_MAX } |
Functions | |
std::ostream & | operator<< (std::ostream &, const Host &) |
std::ostream & | operator<< (std::ostream &, const Bracketed &) |
std::ostream & | operator<< (std::ostream &os, ProtocolType const &p) |
std::ostream & | operator<< (std::ostream &os, const ProtocolVersion &v) |
std::ostream & | operator<< (std::ostream &os, const Uri &url) |
std::ostream & | operator<< (std::ostream &os, const UriScheme &scheme) |
Variables | |
const char * | ProtocolType_str [] |
Typedef Documentation
◆ KnownPort
using AnyP::KnownPort = typedef uint16_t |
Definition at line 23 of file UriScheme.h.
◆ Port
using AnyP::Port = typedef std::optional<KnownPort> |
Definition at line 26 of file UriScheme.h.
◆ PortCfgPointer
typedef RefCount<PortCfg> AnyP::PortCfgPointer |
Enumeration Type Documentation
◆ ProtocolType
enum AnyP::ProtocolType |
List of all protocols known and supported. This is a combined list. It is used as type-codes where needed and the AnyP::ProtocolType_Str array of strings may be used for display
Definition at line 23 of file ProtocolType.h.
Function Documentation
◆ operator<<() [1/6]
std::ostream & AnyP::operator<< | ( | std::ostream & | os, |
const Bracketed & | hostWrapper | ||
) |
prints Host value without square brackets around an IPv6 address (even when the Host value is an IPv6 address);
- See also
- Bracketed
Definition at line 99 of file Host.cc.
References AnyP::Bracketed::host, and AnyP::Host::ip().
◆ operator<<() [2/6]
std::ostream & AnyP::operator<< | ( | std::ostream & | os, |
const Host & | host | ||
) |
prints Host value without square brackets around an IPv6 address (even when the Host value is an IPv6 address);
- See also
- Bracketed
Definition at line 80 of file Host.cc.
References Assure, AnyP::Host::domainName(), AnyP::Host::ip(), and MAX_IPSTRLEN.
◆ operator<<() [3/6]
|
inline |
Definition at line 95 of file ProtocolVersion.h.
References AnyP::ProtocolVersion::major, AnyP::ProtocolVersion::minor, AnyP::ProtocolVersion::protocol, and ProtocolType_str.
◆ operator<<() [4/6]
|
inline |
Definition at line 193 of file Uri.h.
References AnyP::Uri::authority(), AnyP::Uri::getScheme(), AnyP::UriScheme::image(), AnyP::Uri::path(), PROTO_NONE, and PROTO_URN.
◆ operator<<() [5/6]
|
inline |
Definition at line 80 of file UriScheme.h.
References AnyP::UriScheme::image().
◆ operator<<() [6/6]
|
inline |
Display the registered Protocol Type (in upper case). If the protocol is not a registered AnyP::ProtocolType nothing will be displayed. The caller is responsible for any alternative text.
Definition at line 52 of file ProtocolType.h.
References PROTO_MAX, PROTO_NONE, and ProtocolType_str.
Variable Documentation
◆ ProtocolType_str
const char* AnyP::ProtocolType_str[] |
Referenced by HttpHeader::addVia(), HttpStateData::buildRequestPrefix(), ErrorState::compileLegacyCode(), Security::ServerOptions::createSigningContexts(), ACLProtocolData::dump(), dump_generic_port(), Log::Format::HttpdCombined(), Log::Format::HttpdCommon(), AnyP::UriScheme::Init(), Security::ServerOptions::initServerContexts(), operator<<(), ACLProtocolData::parse(), Security::NegotiationHistory::printTlsVersion(), and urlInitialize().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products