vibe.d beta banner
get vibe.d
0.9.5

Asynchronous I/O that doesn’t get in your way, written in D

Class OutgoingWebSocketMessage

Represents a single outgoing WebSocket message as an OutputStream.

class OutgoingWebSocketMessage
  : OutputStream ;

Constructors

NameDescription
this (conn, frameOpcode, rng)

Methods

NameDescription
finalize () Flushes and finalizes the stream.
flush () Flushes the stream and makes sure that all data is being written to the output device.
write (bytes) Writes an array of bytes to the stream.
write (stream, nbytes) Pipes an InputStream directly into this OutputStream.
write (bytes) Writes an array of chars to the stream.
writeDefault (stream, nbytes)
Authors

Jan Krüger

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.