Interface WebTransportDatagramEvent<T>


@JsType(isNative=true, name="ng.WebTransportDatagramEvent", namespace="<global>") public interface WebTransportDatagramEvent<T>
Public AngularTS WebTransportDatagramEvent contract exposed through the global ng namespace for Closure-annotated applications.
  • Method Summary

    Modifier and Type
    Method
    Description
     
    elemental2.core.Uint8Array
    Raw bytes received from the browser WebTransport datagram stream.
    Value after `transformDatagram`, or the raw bytes when no transform is configured.
    void
    setData(elemental2.core.Uint8Array data)
    Raw bytes received from the browser WebTransport datagram stream.
    void
    setMessage(T message)
    Value after `transformDatagram`, or the raw bytes when no transform is configured.
  • Method Details

    • create

      @JsOverlay static <T> WebTransportDatagramEvent<T> create()
    • getData

      @JsProperty elemental2.core.Uint8Array getData()
      Raw bytes received from the browser WebTransport datagram stream.
    • getMessage

      @JsProperty T getMessage()
      Value after `transformDatagram`, or the raw bytes when no transform is configured.
    • setData

      @JsProperty void setData(elemental2.core.Uint8Array data)
      Raw bytes received from the browser WebTransport datagram stream.
    • setMessage

      @JsProperty void setMessage(T message)
      Value after `transformDatagram`, or the raw bytes when no transform is configured.