Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | client: Keep track of socket state. | David Thompson | 2016-03-25 | 1 | -12/+37 |
| | | | | | | | | | | | * web/socket/client.scm (<websocket>)[state]: New field. (websocket-state, set-websocket-state!): New field accessors. (websocket-connecting?, websocket-open?, websocket-closing?, websocket-closed?): New procedures. (handshake): Set socket to 'open' state after successful handshake. (make-websocket): Set socket to 'connecting' state initially. (close-websocket): Set socket to 'closing' before sending close frame, and then to 'closed' underlying TCP socket is closed. | ||||
* | client: Wait for server to close connection. | David Thompson | 2016-03-25 | 1 | -1/+12 |
| | | | | | * web/socket/client.scm (close-websocket): Wait for server to close the connection for a reasonable amount of time. | ||||
* | Add client module. | David Thompson | 2016-03-24 | 1 | -0/+143 |