LeviLamina
Loading...
Searching...
No Matches
HeaderCollection.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace Bedrock::Http {
6
7class HeaderCollection {
8public:
9 // member variables
10 // NOLINTBEGIN
12 // NOLINTEND
13
14public:
15 // prevent constructor by default
16 HeaderCollection& operator=(HeaderCollection const&);
17 HeaderCollection(HeaderCollection const&);
18 HeaderCollection();
19
20public:
21 // member functions
22 // NOLINTBEGIN
23 MCNAPI void _addHeader(::std::string const& headerName, ::std::string const& headerValue, bool setValue);
24
25 MCNAPI bool _isSingleValueHeader(::std::string const& headerName);
26
27 MCNAPI void add(::std::string const& headerName, ::std::string const& headerValue);
28
29 MCNAPI void addNoSafetyChecks(::std::string const& headerName, ::std::string const& headerValue);
30
31 MCNAPI ::std::_List_const_iterator<
32 ::std::_List_val<::std::_List_simple_types<::std::pair<::std::string const, ::std::string>>>>
33 begin() const;
34
35 MCNAPI ::std::_List_const_iterator<
36 ::std::_List_val<::std::_List_simple_types<::std::pair<::std::string const, ::std::string>>>>
37 end() const;
38
39 MCNAPI ::std::string const& get(::std::string const& headerName) const;
40
41 MCNAPI void set(::std::string const& headerName, ::std::string const& headerValue);
42
43 MCNAPI void setNoSafetyChecks(::std::string const& headerName, ::std::string const& headerValue);
44
46 // NOLINTEND
47
48public:
49 // destructor thunk
50 // NOLINTBEGIN
51 MCNAPI void $dtor();
52 // NOLINTEND
53};
54
55} // namespace Bedrock::Http
MCAPI ::std::_List_const_iterator< ::std::_List_val<::std::_List_simple_types<::std::pair<::std::string const, ::std::string > > > > end() const
MCAPI void setNoSafetyChecks(::std::string const &headerName, ::std::string const &headerValue)
MCAPI void _addHeader(::std::string const &headerName, ::std::string const &headerValue, bool setValue)
MCAPI void add(::std::string const &headerName, ::std::string const &headerValue)
MCAPI void addNoSafetyChecks(::std::string const &headerName, ::std::string const &headerValue)
MCAPI void set(::std::string const &headerName, ::std::string const &headerValue)
MCAPI ::std::_List_const_iterator< ::std::_List_val<::std::_List_simple_types<::std::pair<::std::string const, ::std::string > > > > begin() const
MCAPI bool _isSingleValueHeader(::std::string const &headerName)
MCAPI::std::string const & get(::std::string const &headerName) const
Definition Alias.h:14