// This file is generated by "./lib/proto/generate"

package proto

/*

Inspector

*/

// InspectorDisable Disables inspector domain notifications.
type InspectorDisable struct{}

// ProtoReq name
func (m InspectorDisable) ProtoReq() string { return "Inspector.disable" }

// Call sends the request
func (m InspectorDisable) Call(c Client) error {
	return call(m.ProtoReq(), m, nil, c)
}

// InspectorEnable Enables inspector domain notifications.
type InspectorEnable struct{}

// ProtoReq name
func (m InspectorEnable) ProtoReq() string { return "Inspector.enable" }

// Call sends the request
func (m InspectorEnable) Call(c Client) error {
	return call(m.ProtoReq(), m, nil, c)
}

// InspectorDetached Fired when remote debugging connection is about to be terminated. Contains detach reason.
type InspectorDetached struct {
	// Reason The reason why connection has been terminated.
	Reason string `json:"reason"`
}

// ProtoEvent name
func (evt InspectorDetached) ProtoEvent() string {
	return "Inspector.detached"
}

// InspectorTargetCrashed Fired when debugging target has crashed
type InspectorTargetCrashed struct{}

// ProtoEvent name
func (evt InspectorTargetCrashed) ProtoEvent() string {
	return "Inspector.targetCrashed"
}

// InspectorTargetReloadedAfterCrash Fired when debugging target has reloaded after crash
type InspectorTargetReloadedAfterCrash struct{}

// ProtoEvent name
func (evt InspectorTargetReloadedAfterCrash) ProtoEvent() string {
	return "Inspector.targetReloadedAfterCrash"
}
