Parents: | msgpack |
Class | Superclass | Slots |
connection | tuple | stream session thread output-lock name |
id-present | tuple | id |
invalid-packet | tuple | packet |
notification | tuple | method params |
request | tuple | msgid method params |
response | tuple | msgid error result |
session | tuple | active? incoming-requests outgoing-requests notification-callback request-callback |
unknown-response | tuple | response |
Word | Stack effect |
feed-packet | ( session packet -- ) |
stop | ( session -- ) |
Word | Stack effect |
<connection> | ( stream -- connection ) |
<notification> | ( method params -- notification ) |
<request> | ( msgid method params -- request ) |
<response-error> | ( id error -- response ) |
<response-ok> | ( id result -- response ) |
<session> | ( -- session ) |
feed-response | ( session response -- ) |
id-present | ( id -- * ) |
invalid-packet | ( packet -- * ) |
send-notification | ( notification connection -- ) |
send-request | ( ... request quot: ( ... response -- ... ) connection -- ... ) |
send-request-await | ( request connection -- response ) |
send-response | ( response connection -- ) |
start | ( connection -- ) |
unknown-response | ( response -- * ) |
Word | Stack effect |
connection? | ( object -- ? ) |
id-present? | ( object -- ? ) |
invalid-packet? | ( object -- ? ) |
notification? | ( object -- ? ) |
request? | ( object -- ? ) |
response? | ( object -- ? ) |
session? | ( object -- ? ) |
unknown-response? | ( object -- ? ) |