squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
http
ProtocolVersion.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2022 The Squid Software Foundation and contributors
3
*
4
* Squid software is distributed under GPLv2+ license and includes
5
* contributions from numerous individuals and organizations.
6
* Please see the COPYING and CONTRIBUTORS files for details.
7
*/
8
9
#ifndef SQUID_HTTP_PROTOCOLVERSION_H
10
#define SQUID_HTTP_PROTOCOLVERSION_H
11
12
#include "
anyp/ProtocolVersion.h
"
13
14
namespace
Http
15
{
16
18
inline
AnyP::ProtocolVersion
19
ProtocolVersion
(
unsigned
int
aMajor,
unsigned
int
aMinor)
20
{
21
return
AnyP::ProtocolVersion
(
AnyP::PROTO_HTTP
,aMajor,aMinor);
22
}
23
31
inline
AnyP::ProtocolVersion
32
ProtocolVersion
()
33
{
34
return
AnyP::ProtocolVersion
(
AnyP::PROTO_HTTP
,1,1);
35
}
36
37
};
// namespace Http
38
39
#endif
/* SQUID_HTTP_PROTOCOLVERSION_H */
40
Http
Definition:
forward.h:22
AnyP::PROTO_HTTP
@ PROTO_HTTP
Definition:
ProtocolType.h:25
ProtocolVersion.h
Http::ProtocolVersion
AnyP::ProtocolVersion ProtocolVersion()
Definition:
ProtocolVersion.h:32
Http::ProtocolVersion
AnyP::ProtocolVersion ProtocolVersion(unsigned int aMajor, unsigned int aMinor)
HTTP version label information.
Definition:
ProtocolVersion.h:19
AnyP::ProtocolVersion
Definition:
ProtocolVersion.h:24
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
Configuration:
Reference
Examples
FAQ
and
Wiki
Guide Books:
Beginners
Definitive
Non-English
More...
Support
Security Advisories
Bugzilla Database
Mailing lists
Contacting us
Commercial services
Project Sponsors
Squid-based products
Miscellaneous
Developer Resources
Related Writings
Related Software:
Authenticators
Ecap
Icap
Ident
Log Analysis
Monitor
Proxies
Redirectors
General
Squid Artwork
Web Site Translations
Japanese
Mirrors
Website:
gr
il
jp
pl
...
full list
FTP Package Archive