Set the server address; default to HTTP if no scheme is given. port 0 preserves the URL port or the protocol's default port.
hostOptionalporttypeOptionalStatic ReadonlyRequestHTTP request type.
Static ReadonlyResponseHTTP response type.
Send a request snapshot asynchronously and return the complete response, with a body limit of 64 MiB.
requestRequest contents.
timeoutTotal timeout; Time.Zero disables the timeout.
verifyServerWhether HTTPS verifies the server certificate; defaults to true.
signalOptionalOptional cancellation signal; cancellation returns ConnectionFailed.
Set the server and optional IP address family, returning whether the address is valid; do not open a network connection.
hostporttypeOptional
HTTP/HTTPS client using one connection per request without automatically following redirects.