--- 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](./puppeteer.connectiontransport.send.md) | |