chiark / gitweb /
Fold the send() into Client::api_request.
authorSimon Tatham <anakin@pobox.com>
Thu, 4 Jan 2024 09:08:46 +0000 (09:08 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 4 Jan 2024 12:03:24 +0000 (12:03 +0000)
commit56004f93c71c4c0dfaedafc7e29be9eab5b1165e
tree8da7f3b3b49952bc294ebfff93b0d8c6c5743f55
parente8403d821b29beebc0e58efef39a77c85fa52993
Fold the send() into Client::api_request.

One fewer line of faff at every call site. Plus, now I can centralise
logging usefully.
src/client.rs