diff --git a/doc.go b/doc.go index 060b13f..706bd14 100644 --- a/doc.go +++ b/doc.go @@ -95,9 +95,14 @@ // functions are called from the NextReader, ReadMessage and the message Read // methods. // +// Connections handle comes with default handler which can be overrided: // The default ping handler sends a pong to the peer. The application's reading // goroutine can block for a short time while the handler writes the pong data // to the connection. +// The default pong handler does nothing. +// The default close handler sends a close frame back to the peer. Like with ping, +// the goroutine can block for a short time while the handler writes the close data +// to the connection. // // The application must read the connection to process ping, pong and close // messages sent from the peer. If the application is not otherwise interested