Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jczic committed Oct 4, 2019
1 parent de45252 commit 6514439
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,10 @@
| Method | Arguments |
| - | - |
| Create (static) | `asyncSocketsPool`, `srvAddr`, `connectTimeout=5` (int), `recvbufLen=4096` (int) | `connectAsync=True` (bool) |
| AsyncRecvLine | `onDataRecv=None` (function), `onDataRecvArg=None` (object)`, timeoutSec=None` (int) |
| AsyncRecvLine | `lineEncoding='UTF-8'`, `onLineRecv=None` (function), `onLineRecvArg=None` (object)`, timeoutSec=None` (int) |
| AsyncRecvData | `size=None` (int), `onDataRecv=None` (function), `onDataRecvArg=None` (object), `timeoutSec=None` (int) |
| AsyncSendData | `data` (bytes or buffer protocol), `onDataSent=None` (function), `onDataSentArg=None` (object) |
| AsyncSendSendingBuffer | `size=None` (int), `onDataSent=None` (function), `onDataSentArg=None` (object) |
| StartSSL | `keyfile=None`, `certfile=None`, `server_side=False`, `cert_reqs=ssl.CERT_NONE`, `ca_certs=None` |
| StartSSLContext | `sslContext`, `serverSide=False` |
- `onDataRecv` is a callback event of type f(xAsyncTCPClient, data, arg)
Expand All @@ -114,6 +115,7 @@
| SrvAddr | Tuple of ip and port |
| CliAddr | Tuple of ip and port |
| IsSSL | Return True if SSL is used |
| SendingBuffer | Return the existing buffer used to send data |
| OnFailsToConnect | Get or set an event of type f(xAsyncTCPClient) |
| OnConnected | Get or set an event of type f(xAsyncTCPClient) |

Expand Down

0 comments on commit 6514439

Please sign in to comment.