nativehttp

Simple interface to the native http client
Log | Files | Refs | README | LICENSE

http.go (178B)


      1 package nativehttp
      2 
      3 import "io"
      4 
      5 // Get a resource, returning an [io.ReaderCloser] containing the response body.
      6 func Get(uri string) (io.ReadCloser, error) {
      7 	return get(uri)
      8 }