mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 23:51:25 +08:00
refactor: add SendWithCheck for adb transport
This commit is contained in:
@@ -17,6 +17,7 @@ type syncTransport struct {
|
||||
readTimeout time.Duration
|
||||
}
|
||||
|
||||
// newSyncTransport creates a new sync transport with existed tcp socket connection
|
||||
func newSyncTransport(sock net.Conn, readTimeout time.Duration) syncTransport {
|
||||
return syncTransport{sock: sock, readTimeout: readTimeout}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user