MCPcopy Create free account
hub / github.com/ChromeDevTools/devtools-frontend / getContent

Method getContent

extension-api/ExtensionAPI.d.ts:194–194  ·  view source on GitHub ↗

* Retrieves the content of the request. * * If a `callback` is provided, it is invoked with the content and encoding * and the method returns `void`. If no `callback` is provided, the method * returns a `Promise`. * * @param callback Optional callback to be

()

Source from the content-addressed store, hash-verified

192 * error object on failure.
193 */
194 getContent(): Promise<{content: string, encoding: string}>;
195 getContent(callback: (content: string, encoding: string) => unknown): void;
196 }
197

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected