OsuRoom.trySendMessage

Sends a message with a 2 second ratelimit

  1. void sendImportantMessage(const(char)[] message)
  2. bool trySendMessage(const(char)[] message)
    class OsuRoom
    nothrow
    bool
    trySendMessage
    (
    scope const(char)[] message
    )

Parameters

message const(char)[]

raw message to send

Throws

Exception when attempting to send a message in a closed room or if there is a socket exception or InterruptException if task is interrupted while sending (none if trySendMessage / is used)

Meta