mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-16 18:53:26 +00:00
Add Transporter for wasm js target (#42)
* added js target specific roundtrip * roundtrip_js dial parameter fix
This commit is contained in:
@@ -25,8 +25,3 @@ type readTrackingBody struct {
|
||||
type Transport struct{}
|
||||
|
||||
var DefaultTransport RoundTripper = &Transport{}
|
||||
|
||||
// roundTrip implements a RoundTripper over HTTP.
|
||||
func (t *Transport) RoundTrip(req *Request) (*Response, error) {
|
||||
return roundTrip(req)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user