Documentation ¶
Index ¶
- func Get(url string, options ...Option) stream.Observable[*http.Response]
- func Post(url string, body io.Reader, options ...Option) stream.Observable[*http.Response]
- func ResponseBody(in stream.Observable[*http.Response]) stream.Observable[[]byte]
- func WithBasicAuth(username, password string) func(*http.Request)
- func WithBody(body io.Reader) func(*http.Request)
- func WithHeader(key, value string) func(*http.Request)
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseBody ¶
func ResponseBody(in stream.Observable[*http.Response]) stream.Observable[[]byte]
func WithBasicAuth ¶
func WithHeader ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.