Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
7f049689
Commit
7f049689
authored
Mar 05, 2015
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
asio: Add dtor to API classes
parent
ca1f43df
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
0 deletions
+6
-0
src/asio_server_request.cc
src/asio_server_request.cc
+2
-0
src/asio_server_response.cc
src/asio_server_response.cc
+2
-0
src/includes/nghttp2/asio_http2_server.h
src/includes/nghttp2/asio_http2_server.h
+2
-0
No files found.
src/asio_server_request.cc
View file @
7f049689
...
...
@@ -36,6 +36,8 @@ namespace server {
request
::
request
()
:
impl_
(
make_unique
<
request_impl
>
())
{}
request
::~
request
()
{}
const
header_map
&
request
::
header
()
const
{
return
impl_
->
header
();
}
const
std
::
string
&
request
::
method
()
const
{
return
impl_
->
method
();
}
...
...
src/asio_server_response.cc
View file @
7f049689
...
...
@@ -36,6 +36,8 @@ namespace server {
response
::
response
()
:
impl_
(
make_unique
<
response_impl
>
())
{}
response
::~
response
()
{}
void
response
::
write_head
(
unsigned
int
status_code
,
header_map
h
)
const
{
impl_
->
write_head
(
status_code
,
std
::
move
(
h
));
}
...
...
src/includes/nghttp2/asio_http2_server.h
View file @
7f049689
...
...
@@ -40,6 +40,7 @@ class request {
public:
// Application must not call this directly.
request
();
~
request
();
// Returns request headers. The pusedo headers, which start with
// colon (:), are exluced from this list.
...
...
@@ -65,6 +66,7 @@ class response {
public:
// Application must not call this directly.
response
();
~
response
();
// Write response header using |status_code| (e.g., 200) and
// additional headers in |h|.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment