Skip to content

Commit d1fa38b

Browse files
committed
Use scrapligo standard transport
1 parent 2b06d4b commit d1fa38b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

client.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"github.com/scrapli/scrapligo/driver/opoptions"
2121
"github.com/scrapli/scrapligo/driver/options"
2222
"github.com/scrapli/scrapligo/response"
23+
"github.com/scrapli/scrapligo/transport"
2324
"github.com/scrapli/scrapligo/util"
2425
)
2526

@@ -214,6 +215,7 @@ func NewClient(host string, opts ...func(*Client)) (*Client, error) {
214215
options.WithPort(client.Port),
215216
options.WithTimeoutSocket(client.ConnectTimeout),
216217
options.WithTimeoutOps(client.OperationTimeout),
218+
options.WithTransportType(transport.StandardTransport),
217219
}
218220

219221
// Only disable host key verification if explicitly requested

0 commit comments

Comments
 (0)