mirror of
https://github.com/tinygo-org/net.git
synced 2026-07-26 08:18:39 +00:00
b2d3a2b05b
* added js target specific roundtrip * roundtrip_js dial parameter fix
11 lines
259 B
Go
11 lines
259 B
Go
// TINYGO: The following is copied and modified from Go 1.21.4 official implementation.
|
|
|
|
//go:build !js
|
|
|
|
package http
|
|
|
|
// RoundTrip implements a RoundTripper over HTTP.
|
|
func (t *Transport) RoundTrip(req *Request) (*Response, error) {
|
|
return roundTrip(req)
|
|
}
|