src/domains/io

This module provides a direct mapping of CDP events and commands for v1.3 (stable) of the IO Domain.

Input/Output operations for streams produced by DevTools.

Procs

proc closeIODomain(context: Browser | Tab): owned(Future[void]) {.
    ...stackTrace: false.}

IO.close

Close the stream, discard any temporary backing storage.

proc read(context: Browser | Tab; handle: string): Future[JsonNode] {.
    ...stackTrace: false.}
proc read(context: Browser | Tab; handle: string; params: JsonNode): Future[
    JsonNode] {....stackTrace: false.}

IO.read

Read a chunk of the stream

proc resolveBlob(context: Browser | Tab; objectId: string): Future[JsonNode] {.
    ...stackTrace: false.}

IO.resolveBlob

Return UUID of Blob object specified by a remote object id.