"use strict";(self.webpackChunkwebsite=self.webpackChunkwebsite||[]).push([[61884],{3905:(e,t,n)=>{n.d(t,{Zo:()=>u,kt:()=>f});var r=n(67294);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var i=r.createContext({}),s=function(e){var t=r.useContext(i),n=t;return e&&(n="function"==typeof e?e(t):a(a({},t),e)),n},u=function(e){var t=s(e.components);return r.createElement(i.Provider,{value:t},e.children)},l={inlineCode:"code",wrapper:function(e){var t=e.children;return r.createElement(r.Fragment,{},t)}},m=r.forwardRef((function(e,t){var n=e.components,o=e.mdxType,p=e.originalType,i=e.parentName,u=c(e,["components","mdxType","originalType","parentName"]),m=s(n),f=o,y=m["".concat(i,".").concat(f)]||m[f]||l[f]||p;return n?r.createElement(y,a(a({ref:t},u),{},{components:n})):r.createElement(y,a({ref:t},u))}));function f(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var p=n.length,a=new Array(p);a[0]=m;var c={};for(var i in t)hasOwnProperty.call(t,i)&&(c[i]=t[i]);c.originalType=e,c.mdxType="string"==typeof e?e:o,a[1]=c;for(var s=2;s{n.r(t),n.d(t,{assets:()=>i,contentTitle:()=>a,default:()=>l,frontMatter:()=>p,metadata:()=>c,toc:()=>s});var r=n(87462),o=(n(67294),n(3905));const p={},a="ConnectionTransport.onmessage property",c={unversionedId:"api/puppeteer.connectiontransport.onmessage",id:"api/puppeteer.connectiontransport.onmessage",title:"ConnectionTransport.onmessage property",description:"Signature:",source:"@site/../docs/api/puppeteer.connectiontransport.onmessage.md",sourceDirName:"api",slug:"/api/puppeteer.connectiontransport.onmessage",permalink:"/puppeteer/api/puppeteer.connectiontransport.onmessage",draft:!1,tags:[],version:"current",frontMatter:{},sidebar:"sidebar",previous:{title:"ConnectionTransport.onclose property",permalink:"/puppeteer/api/puppeteer.connectiontransport.onclose"},next:{title:"ConnectionTransport.send() method",permalink:"/puppeteer/api/puppeteer.connectiontransport.send"}},i={},s=[],u={toc:s};function l(e){let{components:t,...n}=e;return(0,o.kt)("wrapper",(0,r.Z)({},u,n,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("h1",{id:"connectiontransportonmessage-property"},"ConnectionTransport.onmessage property"),(0,o.kt)("p",null,(0,o.kt)("strong",{parentName:"p"},"Signature:")),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre",className:"language-typescript"},"onmessage?: (message: string) => void;\n")))}l.isMDXComponent=!0}}]);