adds more transport documentation

This commit is contained in:
Peter Thorson
2013-03-17 18:22:02 -05:00
parent 56f5472c88
commit 7db9817d20

View File

@@ -57,6 +57,11 @@ namespace transport {
* Websocket++ promises to have only one async_write in flight at a time.
* The transport must promise to only call the write_handler once per async
* write
*
* - std::string remote_endpoint(): retrieve address of remote endpoint
* - is_secure(): whether or not the connection to the remote endpoint is secure
* - lib::error_code dispatch(dispatch_handler handler): invoke handler within
* the transport's event system if it uses one.
*/
// Endpoint callbacks