Closed avinassh closed 1 year ago
This PR, makes the internal methods to pass ctx to websocket library.
ExecContext
QueryContext
wsjson
Exec
Query
Also, taking from the discussion https://github.com/libsql/libsql-client-go/issues/9#issuecomment-1511408276 I have added timeout of 120 seconds to both websocket and http calls.
This PR, makes the internal methods to pass ctx to websocket library.
ExecContext
andQueryContext
, they will pass the ctx downwsjson
Exec
andQuery
methods too.Also, taking from the discussion https://github.com/libsql/libsql-client-go/issues/9#issuecomment-1511408276 I have added timeout of 120 seconds to both websocket and http calls.