write

open suspend override fun write(closeableFrame: FrameWithCloseable, streamPid: Int)

Writes frame to all opened endpoints.

If all endpoints write fails, it throws the exception of the first endpoint that failed.