class PostMessage

Defined at line 366 of file fidling/gen/sdk/fidl/fuchsia.web/fuchsia.web/cpp/fidl/fuchsia.web/cpp/markers.h

Sends a [`WebMessage`] to the peer. These are processed in order, one at a

time. It is not necessary for the caller to wait for the completion callback before calling

[`MessagePort.PostMessage`] again.

If an error occurred, the [`FrameError`] will be set to one of these value:

- `BUFFER_NOT_UTF8`: The script in `message`'s `data` property is not UTF-8 encoded.

- `NO_DATA_IN_MESSAGE`: The `data` property is missing in `message`.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal