Number error codes from 1 (fix #54)

This commit is contained in:
Vinnie Falco
2016-08-26 09:04:04 -04:00
parent 796f20314c
commit 3518e4861b
4 changed files with 9 additions and 3 deletions

View File

@@ -16,8 +16,10 @@ namespace websocket {
/// Error codes returned from @ref stream operations.
enum class error
{
success = 0,
/// Both sides performed a WebSocket close
closed = 1,
closed,
/// WebSocket connection failed, protocol violation
failed,