• Skip to main content
  • Skip to search
  • Skip to select language
    • Technologies Overview
    • HTML
    • CSS
    • JavaScript
    • Graphics
    • HTTP
    • APIs
    • Browser Extensions
    • MathML
    • Learn web development
    • Tutorials
    • References
    • Developer Guides
    • Accessibility
    • Game development
    • ...more docs
    • Send Feedback
    • Contribute to MDN
    • Report a content issue 🌐
    • Report a platform issue 🌐
  1. Web technology for developers
  2. Web APIs
  3. PresentationConnection
  4. PresentationConnection.send()

Table of contents

  • Syntax
  • Specifications
  • Browser compatibility

PresentationConnection.send()

The send() method of the PresentationConnection interface tells a controlling browsing context to send binary or text data to a presenting browsing context.

Syntax

PresentationConnection.send(data);

Parameters

data

The data to send to the presentation context. It will be one of the following:

  • String
  • Blob
  • Array

Return value

undefined.

Specifications

Specification
Presentation API
# dom-presentationconnection-send

Browser compatibility

BCD tables only load in the browser

Found a problem with this page?

  • Edit on GitHub
  • Source on GitHub
  • Report a problem with this content on GitHub
  • Want to fix the problem yourself? See our Contribution guide.

Last modified: Feb 18, 2022, by MDN contributors

Related Topics

  1. PresentationConnection
  2. Properties
    1. binaryType
    2. state
    3. url
  3. Methods
    1. close()
    2. send()
    3. terminate()
  4. Inheritance:
    1. EventTarget
  • Web Technologies
  • Learn Web Development
  • About MDN
  • Feedback
  • About
  • MDN Web Docs Store
  • Contact Us
  • Firefox

MDN

  • MDN on Twitter
  • MDN on Github

Mozilla

  • Mozilla on Twitter
  • Mozilla on Instagram

© 2005-2022 Mozilla and individual contributors. Content is available under these licenses.

  • Terms
  • Privacy
  • Cookies