proxygen
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
StructuredHeadersUtilities.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2004-present, Facebook, Inc.
3
* All rights reserved.
4
*
5
* This source code is licensed under the BSD-style license found in the
6
* LICENSE file in the root directory of this source tree. An additional grant
7
* of patent rights can be found in the PATENTS file in the same directory.
8
*
9
*/
10
#include <string>
11
#include "
StructuredHeadersConstants.h
"
12
13
#pragma once
14
15
namespace
proxygen
{
16
namespace
StructuredHeaders {
17
18
bool
isLcAlpha
(
char
c
);
19
20
bool
isValidIdentifierChar
(
char
c
);
21
22
bool
isValidEncodedBinaryContentChar
(
char
c
);
23
24
bool
isValidStringChar
(
char
c
);
25
26
bool
isValidIdentifier
(
const
std::string
&
s
);
27
28
bool
isValidString
(
const
std::string
&
s
);
29
30
bool
isValidEncodedBinaryContent
(
const
std::string
&
s
);
31
32
bool
itemTypeMatchesContent
(
const
StructuredHeaderItem& input);
33
34
std::string
decodeBase64
(
const
std::string
& encoded);
35
36
std::string
encodeBase64
(
const
std::string
& input);
37
38
}
39
}
proxygen::StructuredHeaders::isValidStringChar
bool isValidStringChar(char c)
Definition:
StructuredHeadersUtilities.cpp:34
proxygen::StructuredHeaders::isValidIdentifier
bool isValidIdentifier(const std::string &s)
Definition:
StructuredHeadersUtilities.cpp:45
proxygen::StructuredHeaders::isLcAlpha
bool isLcAlpha(char c)
Definition:
StructuredHeadersUtilities.cpp:20
proxygen::StructuredHeaders::itemTypeMatchesContent
bool itemTypeMatchesContent(const StructuredHeaderItem &input)
Definition:
StructuredHeadersUtilities.cpp:87
proxygen::StructuredHeaders::encodeBase64
std::string encodeBase64(const std::string &input)
Definition:
StructuredHeadersUtilities.cpp:126
proxygen::StructuredHeaders::isValidEncodedBinaryContentChar
bool isValidEncodedBinaryContentChar(char c)
Definition:
StructuredHeadersUtilities.cpp:29
proxygen::StructuredHeaders::decodeBase64
std::string decodeBase64(const std::string &encoded)
Definition:
StructuredHeadersUtilities.cpp:105
proxygen::StructuredHeaders::isValidIdentifierChar
bool isValidIdentifierChar(char c)
Definition:
StructuredHeadersUtilities.cpp:24
StructuredHeadersConstants.h
string
const char * string
Definition:
Conv.cpp:212
proxygen::StructuredHeaders::isValidEncodedBinaryContent
bool isValidEncodedBinaryContent(const std::string &s)
Definition:
StructuredHeadersUtilities.cpp:68
s
static set< string > s
Definition:
StringKeyedBenchmark.cpp:48
proxygen
Definition:
ExMessageHandler.h:14
proxygen::StructuredHeaders::isValidString
bool isValidString(const std::string &s)
Definition:
StructuredHeadersUtilities.cpp:59
c
char c
Definition:
OptionalTest.cpp:53
proxygen
lib
http
structuredheaders
StructuredHeadersUtilities.h
Generated by
1.8.11