Changeset 31611 in project


Ignore:
Timestamp:
10/07/14 01:46:51 (5 years ago)
Author:
svnwiki
Message:

Anonymous wiki edit for IP [50.185.254.109]: Add more to the description.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • wiki/eggref/4/websockets

    r31610 r31611  
    55=== Description
    66
    7 websockets is a fast, lightweight, and simple implementation of the websockets protocol. It currently only supports version 13 and no extensions.
     7{{websockets}} is a fast, lightweight, and simple implementation of the websockets protocol. It currently only supports version 13 and no extensions.
     8
     9{{websockets}} provides both a high level and low level API. The high level API provides both a blocking and concurrent interface. Note that contrary to most or even all other websocket implementations it does not provide an asynchronous interface but it however provide a concurrent backed interface. See the section on the high level interface for more details. The low level API provides all of the primitives for working directly with websocket connections, messages, and fragments. It can be used for special circumstances, like when more fine grained control is desired for accepting or processing fragments, or for building a different high level API. The provided high level API is based on the exposed low level API.
    810
    911=== Repository
     
    7375
    7476All websocket specific errors are covered by this. The only error you may receive if this is {{#f}} is of type {{websocket}} and {{unexpected-error}} either when things go terribly wrong in the implementation or an error is triggered in user code.
    75 
     77<a name="high-level"></a>
    7678Note that this parameter is only relevant when using {{with-websocket}} or {{with-concurrent-websocket}}. If you don't use one of those then all errors will be propagated.
    7779
     
    8284The maximum allowed frame payload size. The default is {{1MiB}}. If a frame exceeds this size then its payload will not be read and the connection will be dropped immediately. This signals a {{message-too-large}} error.
    8385
     86The maximum frame size supported by {{websockets}} is {{1GiB}}.
     87
    8488
    8589===== {{max-message-size}}
     
    8791
    8892The maximum allowed total message size. The default is {{1MiB}}. If a frame will cause the {{max-message-size}} to be exceeded then its payload is not read and the connection is dropped immediately. This signals a {{message-too-large}} error.
     93
     94The maximum message size supported by {{websockets}} is {{1GiB}}.
Note: See TracChangeset for help on using the changeset viewer.