#include <server_sent_events_emitter.h>
Public Types | |
| using | string_view = std::experimental::string_view |
| using | string = std::string |
| using | PostCallbackAction = bool |
| using | Callback = delegate< PostCallbackAction(string_view)> |
Public Member Functions | |
| ServerSentEventsEmitter ()=default | |
| ~ServerSentEventsEmitter ()=default | |
| auto | parse (const string_view chunk, Callback &&_callback) -> bool |
Static Public Attributes | |
| static constexpr PostCallbackAction | AbortProcessing = false |
| static constexpr PostCallbackAction | ContinueProcessing = true |
| using Requests::ServerSentEventsEmitter::Callback = delegate<PostCallbackAction(string_view)> |
| using Requests::ServerSentEventsEmitter::string = std::string |
| using Requests::ServerSentEventsEmitter::string_view = std::experimental::string_view |
|
default |
|
default |
| auto Requests::ServerSentEventsEmitter::parse | ( | const string_view | chunk, |
| Callback && | _callback | ||
| ) | -> bool |

|
static |
|
static |