Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dbcli/mssql-cli
/ close
Method
close
mssqlcli/jsonrpc/jsonrpcclient.py:436–443 ·
view source on GitHub ↗
Close the stream.
(self)
Source
from the content-addressed store, hash-verified
434
self.buffer_end_offset -= bytes_to_remove
435
436
def
close(self):
437
""
"
438
Close the stream.
439
""
"
440
try
:
441
self.stream.close()
442
except
AttributeError:
443
pass
Callers
5
test_basic_response
Method · 0.95
test_basic_request
Method · 0.95
test_nested_request
Method · 0.95
test_response_multiple_headers
Method · 0.95
test_incorrect_header_formats
Method · 0.95
Calls
1
close
Method · 0.45
Tested by
5
test_basic_response
Method · 0.76
test_basic_request
Method · 0.76
test_nested_request
Method · 0.76
test_response_multiple_headers
Method · 0.76
test_incorrect_header_formats
Method · 0.76