From 49c07296dd71914078e337ee05a3099dcb001922 Mon Sep 17 00:00:00 2001 From: Peter Thorson Date: Mon, 12 Aug 2013 11:22:26 -0500 Subject: [PATCH] iostream transport documentation --- websocketpp/transport/iostream/endpoint.hpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/websocketpp/transport/iostream/endpoint.hpp b/websocketpp/transport/iostream/endpoint.hpp index 98d36e7c37..de6b71d642 100644 --- a/websocketpp/transport/iostream/endpoint.hpp +++ b/websocketpp/transport/iostream/endpoint.hpp @@ -68,7 +68,14 @@ public: //std::cout << "transport::iostream::endpoint constructor" << std::endl; } - void register_ostream(std::ostream* o) { + /// Register a default output stream + /** + * The specified output stream will be assigned to future connections as the + * default output stream. + * + * @param o The ostream to use as the default output stream. + */ + void register_ostream(std::ostream * o) { m_alog->write(log::alevel::devel,"register_ostream"); m_output_stream = o; }