Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
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
pistache
Commits
cbe1f96e
Commit
cbe1f96e
authored
Sep 01, 2018
by
Ian Roddis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
staging changes
parent
62ed986a
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
1 deletion
+8
-1
include/pistache/client.h
include/pistache/client.h
+3
-0
include/pistache/http.h
include/pistache/http.h
+4
-0
include/pistache/prototype.h
include/pistache/prototype.h
+1
-1
No files found.
include/pistache/client.h
View file @
cbe1f96e
...
...
@@ -165,6 +165,9 @@ public:
PROTOTYPE_OF
(
Aio
::
Handler
,
Transport
)
Transport
()
{}
Transport
(
const
Transport
&
rhs
)
{
(
void
)
rhs
;
}
typedef
std
::
function
<
void
()
>
OnResponseParsed
;
void
onReady
(
const
Aio
::
FdSet
&
fds
);
...
...
include/pistache/http.h
View file @
cbe1f96e
...
...
@@ -786,6 +786,10 @@ namespace Private {
class
Handler
:
public
Tcp
::
Handler
{
public:
void
Handler
()
:
max_payload_
(
Const
::
MaxPayload
)
{}
void
Handler
(
size_t
max_payload
)
{
}
void
onInput
(
const
char
*
buffer
,
size_t
len
,
const
std
::
shared_ptr
<
Tcp
::
Peer
>&
peer
);
void
onConnection
(
const
std
::
shared_ptr
<
Tcp
::
Peer
>&
peer
);
...
...
include/pistache/prototype.h
View file @
cbe1f96e
...
...
@@ -22,6 +22,6 @@ struct Prototype {
#define PROTOTYPE_OF(Base, Class) \
private: \
std::shared_ptr<Base> clone() const { \
return std::make_shared<Class>(
);
\
return std::make_shared<Class>(
*this);
\
} \
public:
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