--- sidebar_label: ConnectionTransport --- # ConnectionTransport interface #### Signature: ```typescript export interface ConnectionTransport ``` ## Properties | Property | Modifiers | Type | Description | Default | | --------- | --------------------- | ---------------------------- | ----------- | ------- | | onclose | optional | () => void | | | | onmessage | optional | (message: string) => void | | | ## Methods | Method | Description | | -------------------------------------------------------- | ----------- | | [close()](./puppeteer.connectiontransport.close.md) | | | [send(message)](./puppeteer.connectiontransport.send.md) | |