package io

Import Path
	github.com/chromedp/cdproto/io (on go.dev)

Dependency Relation
	imports 7 packages, and imported by 5 packages

Involved Source Files easyjson.go Package io provides the Chrome DevTools Protocol commands, types, and events for the IO domain. Input/Output operations for streams produced by DevTools. Generated by the cdproto-gen command. types.go
Package-Level Type Names (total 6)
/* sort by: | */
CloseParams close the stream, discard any temporary backing storage. // Handle of the stream to close. Do executes IO.close against the provided context. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface *CloseParams : github.com/chromedp/chromedp.Action *CloseParams : github.com/chromedp/chromedp.CallAction *CloseParams : github.com/chromedp/chromedp.EmulateAction *CloseParams : github.com/chromedp/chromedp.EvaluateAction *CloseParams : github.com/chromedp/chromedp.KeyAction *CloseParams : github.com/chromedp/chromedp.MouseAction *CloseParams : github.com/chromedp/chromedp.NavigateAction *CloseParams : github.com/chromedp/chromedp.PollAction *CloseParams : github.com/chromedp/chromedp.QueryAction CloseParams : github.com/goccy/go-json.Marshaler *CloseParams : github.com/goccy/go-json.Unmarshaler CloseParams : github.com/mailru/easyjson.Marshaler *CloseParams : github.com/mailru/easyjson.MarshalerUnmarshaler *CloseParams : github.com/mailru/easyjson.Unmarshaler CloseParams : encoding/json.Marshaler *CloseParams : encoding/json.Unmarshaler func Close(handle StreamHandle) *CloseParams
ReadParams read a chunk of the stream. // Handle of the stream to read. // Seek to the specified offset before reading (if not specificed, proceed with offset following the last read). Some types of streams may only support sequential reads. // Maximum number of bytes to read (left upon the agent discretion if not specified). Do executes IO.read against the provided context. returns: data - Data that were read. eof - Set if the end-of-file condition occurred while reading. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface WithOffset seek to the specified offset before reading (if not specificed, proceed with offset following the last read). Some types of streams may only support sequential reads. WithSize maximum number of bytes to read (left upon the agent discretion if not specified). ReadParams : github.com/goccy/go-json.Marshaler *ReadParams : github.com/goccy/go-json.Unmarshaler ReadParams : github.com/mailru/easyjson.Marshaler *ReadParams : github.com/mailru/easyjson.MarshalerUnmarshaler *ReadParams : github.com/mailru/easyjson.Unmarshaler ReadParams : encoding/json.Marshaler *ReadParams : encoding/json.Unmarshaler func Read(handle StreamHandle) *ReadParams func ReadParams.WithOffset(offset int64) *ReadParams func ReadParams.WithSize(size int64) *ReadParams
ReadReturns return values. // Set if the data is base64-encoded // Data that were read. // Set if the end-of-file condition occurred while reading. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface ReadReturns : github.com/goccy/go-json.Marshaler *ReadReturns : github.com/goccy/go-json.Unmarshaler ReadReturns : github.com/mailru/easyjson.Marshaler *ReadReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *ReadReturns : github.com/mailru/easyjson.Unmarshaler ReadReturns : encoding/json.Marshaler *ReadReturns : encoding/json.Unmarshaler
ResolveBlobParams return UUID of Blob object specified by a remote object id. // Identifier of the object to release. Do executes IO.resolveBlob against the provided context. returns: uuid - UUID of the specified Blob. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface ResolveBlobParams : github.com/goccy/go-json.Marshaler *ResolveBlobParams : github.com/goccy/go-json.Unmarshaler ResolveBlobParams : github.com/mailru/easyjson.Marshaler *ResolveBlobParams : github.com/mailru/easyjson.MarshalerUnmarshaler *ResolveBlobParams : github.com/mailru/easyjson.Unmarshaler ResolveBlobParams : encoding/json.Marshaler *ResolveBlobParams : encoding/json.Unmarshaler func ResolveBlob(objectID runtime.RemoteObjectID) *ResolveBlobParams
ResolveBlobReturns return values. // UUID of the specified Blob. MarshalEasyJSON supports easyjson.Marshaler interface MarshalJSON supports json.Marshaler interface UnmarshalEasyJSON supports easyjson.Unmarshaler interface UnmarshalJSON supports json.Unmarshaler interface ResolveBlobReturns : github.com/goccy/go-json.Marshaler *ResolveBlobReturns : github.com/goccy/go-json.Unmarshaler ResolveBlobReturns : github.com/mailru/easyjson.Marshaler *ResolveBlobReturns : github.com/mailru/easyjson.MarshalerUnmarshaler *ResolveBlobReturns : github.com/mailru/easyjson.Unmarshaler ResolveBlobReturns : encoding/json.Marshaler *ResolveBlobReturns : encoding/json.Unmarshaler
StreamHandle this is either obtained from another method or specified as blob:<uuid> where <uuid> is an UUID of a Blob. See: https://chromedevtools.github.io/devtools-protocol/tot/IO#type-StreamHandle String returns the StreamHandle as string value. StreamHandle : expvar.Var StreamHandle : fmt.Stringer func github.com/chromedp/cdproto/fetch.(*TakeResponseBodyAsStreamParams).Do(ctx context.Context) (stream StreamHandle, err error) func github.com/chromedp/cdproto/network.(*TakeResponseBodyForInterceptionAsStreamParams).Do(ctx context.Context) (stream StreamHandle, err error) func github.com/chromedp/cdproto/page.(*PrintToPDFParams).Do(ctx context.Context) (data []byte, stream StreamHandle, err error) func Close(handle StreamHandle) *CloseParams func Read(handle StreamHandle) *ReadParams
Package-Level Functions (total 3)
Close close the stream, discard any temporary backing storage. See: https://chromedevtools.github.io/devtools-protocol/tot/IO#method-close parameters: handle - Handle of the stream to close.
Read read a chunk of the stream. See: https://chromedevtools.github.io/devtools-protocol/tot/IO#method-read parameters: handle - Handle of the stream to read.
ResolveBlob return UUID of Blob object specified by a remote object id. See: https://chromedevtools.github.io/devtools-protocol/tot/IO#method-resolveBlob parameters: objectID - Object id of a Blob object wrapper.
Package-Level Constants (total 3)
Command names.
Command names.
Command names.