Source File
events.go
Belonging Package
github.com/chromedp/cdproto/preload
package preload// Code generated by cdproto-gen. DO NOT EDIT.import ()// EventRuleSetUpdated upsert. Currently, it is only emitted when a rule set// added.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-ruleSetUpdatedtype EventRuleSetUpdated struct {RuleSet *RuleSet `json:"ruleSet"`}// EventRuleSetRemoved [no description].//// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-ruleSetRemovedtype EventRuleSetRemoved struct {ID RuleSetID `json:"id"`}// EventPreloadEnabledStateUpdated fired when a preload enabled state is// updated.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-preloadEnabledStateUpdatedtype EventPreloadEnabledStateUpdated struct {DisabledByPreference bool `json:"disabledByPreference"`DisabledByDataSaver bool `json:"disabledByDataSaver"`DisabledByBatterySaver bool `json:"disabledByBatterySaver"`DisabledByHoldbackPrefetchSpeculationRules bool `json:"disabledByHoldbackPrefetchSpeculationRules"`DisabledByHoldbackPrerenderSpeculationRules bool `json:"disabledByHoldbackPrerenderSpeculationRules"`}// EventPrefetchStatusUpdated fired when a prefetch attempt is updated.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-prefetchStatusUpdatedtype EventPrefetchStatusUpdated struct {Key *IngAttemptKey `json:"key"`InitiatingFrameID cdp.FrameID `json:"initiatingFrameId"` // The frame id of the frame initiating prefetch.PrefetchURL string `json:"prefetchUrl"`Status IngStatus `json:"status"`PrefetchStatus PrefetchStatus `json:"prefetchStatus"`RequestID network.RequestID `json:"requestId"`}// EventPrerenderStatusUpdated fired when a prerender attempt is updated.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-prerenderStatusUpdatedtype EventPrerenderStatusUpdated struct {Key *IngAttemptKey `json:"key"`Status IngStatus `json:"status"`PrerenderStatus PrerenderFinalStatus `json:"prerenderStatus,omitempty"`DisallowedMojoInterface string `json:"disallowedMojoInterface,omitempty"` // This is used to give users more information about the name of Mojo interface that is incompatible with prerender and has caused the cancellation of the attempt.}// EventPreloadingAttemptSourcesUpdated send a list of sources for all// preloading attempts in a document.//// See: https://chromedevtools.github.io/devtools-protocol/tot/Preload#event-preloadingAttemptSourcesUpdatedtype EventPreloadingAttemptSourcesUpdated struct {LoaderID cdp.LoaderID `json:"loaderId"`PreloadingAttemptSources []*IngAttemptSource `json:"preloadingAttemptSources"`}
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |