package streaming
import "github.com/Azure/azure-sdk-for-go/sdk/azcore/streaming"
Package streaming contains helpers for streaming IO operations and progress reporting.
Index ¶
- func NewRequestProgress(body io.ReadSeekCloser, pr func(bytesTransferred int64)) io.ReadSeekCloser
- func NewResponseProgress(body io.ReadCloser, pr func(bytesTransferred int64)) io.ReadCloser
- func NopCloser(rs io.ReadSeeker) io.ReadSeekCloser
Functions ¶
func NewRequestProgress ¶
func NewRequestProgress(body io.ReadSeekCloser, pr func(bytesTransferred int64)) io.ReadSeekCloser
NewRequestProgress adds progress reporting to an HTTP request's body stream.
func NewResponseProgress ¶
func NewResponseProgress(body io.ReadCloser, pr func(bytesTransferred int64)) io.ReadCloser
NewResponseProgress adds progress reporting to an HTTP response's body stream.
func NopCloser ¶
func NopCloser(rs io.ReadSeeker) io.ReadSeekCloser
NopCloser returns a ReadSeekCloser with a no-op close method wrapping the provided io.ReadSeeker.
Source Files ¶
- Version
- v1.1.4
- Published
- Oct 6, 2022
- Platform
- js/wasm
- Imports
- 2 packages
- Last checked
- 56 seconds ago –
Tools for package owners.