func (d *domainClient) RequestData(ctx context.Context, args *RequestDataArgs) (reply *RequestDataReply, err error) {
	reply = new(RequestDataReply)
	if args != nil {
		err = rpcc.Invoke(ctx, "IndexedDB.requestData", args, reply, d.conn)
	} else {
		err = rpcc.Invoke(ctx, "IndexedDB.requestData", nil, reply, d.conn)
	}
	if err != nil {
		err = &internal.OpError{Domain: "IndexedDB", Op: "RequestData", Err: err}
	}
	return
}
RequestData invokes the IndexedDB method. Requests data from object store
or index.
package indexeddb
import (
	"context"
	"github.com/mafredri/cdp/protocol/internal"
	"github.com/mafredri/cdp/rpcc"
)
type domainClient struct{ conn *rpcc.Conn }
func NewClient(conn *rpcc.Conn) *domainClient {
	return &domainClient{conn: conn}
}
func (d *domainClient) ClearObjectStore(ctx context.Context, args *ClearObjectStoreArgs) (err error) {
	if args != nil {
		err = rpcc.Invoke(ctx, "IndexedDB.clearObjectStore", args, nil, d.conn)
	} else {
		err = rpcc.Invoke(ctx, "IndexedDB.clearObjectStore", nil, nil, d.conn)
	}
	if err != nil {
		err = &internal.OpError{Domain: "IndexedDB", Op: "ClearObjectStore", Err: err}
	}
	return
}
func (d *domainClient) DeleteDatabase(ctx context.Context, args *DeleteDatabaseArgs) (err error) {
	if args != nil {
		err = rpcc.Invoke(ctx, "IndexedDB.deleteDatabase", args, nil, d.conn)
	} else {
		err = rpcc.Invoke(ctx, "IndexedDB.deleteDatabase", nil, nil, d.conn)
	}
	if err != nil {
		err = &internal.OpError{Domain: "IndexedDB", Op: "DeleteDatabase", Err: err}
	}
	return
}
func (d *domainClient) DeleteObjectStoreEntries(ctx context.Context, args *DeleteObjectStoreEntriesArgs) (err error) {
	if args != nil {
		err = rpcc.Invoke(ctx, "IndexedDB.deleteObjectStoreEntries", args, nil, d.conn)
	} else {
		err = rpcc.Invoke(ctx, "IndexedDB.deleteObjectStoreEntries", nil, nil, d.conn)
	}
	if err != nil {
		err = &internal.OpError{Domain: "IndexedDB", Op: "DeleteObjectStoreEntries", Err: err}
	}
	return
}
func (d *domainClient) Disable(ctx context.Context) (err error) {
	err = rpcc.Invoke(ctx, "IndexedDB.disable", nil, nil, d.conn)
	if err != nil {
		err = &internal.OpError{Domain: "IndexedDB", Op: "Disable", Err: err}
	}
	return
}
func (d *domainClient) Enable(ctx context.Context) (err error) {
	err = rpcc.Invoke(ctx, "IndexedDB.enable", nil, nil, d.conn)
	if err != nil {
		err = &internal.OpError{Domain: "IndexedDB", Op: "Enable", Err: err}
	}
	return
}