When the close()
method is called on a PresentationConnection
, the user agent begins the process of closing the connection by sending an empty closeMessage
with the closeReason
set to closed
.
PresentationConnection.close()
Syntax
close()
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
close |
49
|
79
|
51-88
|
No
|
36
|
No
|
No
|
49
|
No
|
36
|
No
|
5.0
|
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/PresentationConnection/close