squid-
cache.org
Optimising Web Delivery
Docs
Download
Donate
Support
About
Contact
Shop
Blog
src
proxyp
Parser.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 1996-2023 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_PROXYP_PARSER_H
10
#define SQUID_PROXYP_PARSER_H
11
12
#include "
proxyp/forward.h
"
13
#include "
sbuf/forward.h
"
14
15
namespace
ProxyProtocol
{
16
18
class
Parsed
19
{
20
public
:
21
Parsed
(
const
HeaderPointer
&parsedHeader,
const
size_t
parsedSize);
22
23
HeaderPointer
header
;
24
size_t
size
;
25
};
26
31
Parsed
Parse
(
const
SBuf
&);
32
33
}
// namespace ProxyProtocol
34
35
#endif
36
ProxyProtocol::Parsed
successful parsing result
Definition:
Parser.h:19
ProxyProtocol::Parsed::header
HeaderPointer header
successfully parsed header; not nil
Definition:
Parser.h:23
ProxyProtocol::Parsed::size
size_t size
raw bytes parsed, including any magic/delimiters
Definition:
Parser.h:24
ProxyProtocol::Parsed::Parsed
Parsed(const HeaderPointer &parsedHeader, const size_t parsedSize)
Definition:
Parser.cc:270
RefCount< Header >
SBuf
Definition:
SBuf.h:94
ProxyProtocol
Definition:
Elements.cc:18
ProxyProtocol::Parse
Parsed Parse(const SBuf &)
Definition:
Parser.cc:242
forward.h
forward.h
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:
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:
il
...
full list
FTP Package Archive