CatsShowdownConnection
Attributes
- Graph
-
- Supertypes
-
trait ShowdownConnection[String, [e, r] =>> F[r], [r] =>> Stream[F, r]]class Objecttrait Matchableclass Any
Members list
Value members
Concrete methods
Disconnect from the server.
Disconnect from the server.
Attributes
- Definition Classes
-
ShowdownConnection
Send client-bound message to the server.
Send client-bound message to the server.
Value parameters
- message
-
the message to send
- room
-
the room to send the message to
Attributes
- Definition Classes
-
ShowdownConnection
Send client-bound message to the server.
Send client-bound message to the server.
Value parameters
- message
-
the message to send
Attributes
- Definition Classes
-
ShowdownConnection
Send a socket frame to the server.
Send a socket frame to the server.
Value parameters
- message
-
the socket message to send
Attributes
- Definition Classes
-
ShowdownConnection
The stream of the received server messages
The stream of the received server messages
Attributes
- Definition Classes
-
ShowdownConnection
Inherited methods
Accept a challenge
Accept a challenge
Attributes
- Inherited from:
- ShowdownConnection
Cancel the match search.
Cancel the match search.
Attributes
- Inherited from:
- ShowdownConnection
Challenge another user
Challenge another user
Value parameters
- format
-
the format of the battle
- user
-
the user to challenge
Attributes
- Inherited from:
- ShowdownConnection
Confirm login process by sending the assertion received from ShowdownClient#login or ShowdownClient#loginGuest.
Confirm login process by sending the assertion received from ShowdownClient#login or ShowdownClient#loginGuest.
Value parameters
- assertion
-
the assertion got from the authentication process
- name
-
the username to take
Attributes
- Inherited from:
- ShowdownConnection
Join a room.
Join a room.
Value parameters
- room
-
the id of the room to join
Attributes
- Inherited from:
- ShowdownConnection
Leave a room
Leave a room
Value parameters
- room
-
the id of the room to leave
Attributes
- Inherited from:
- ShowdownConnection
Disconnect the user
Disconnect the user
Attributes
- Inherited from:
- ShowdownConnection
Rename current user.
Rename current user.
Value parameters
- name
-
the new name to take
Attributes
- Inherited from:
- ShowdownConnection
Reset current user's name.
Reset current user's name.
Attributes
- Inherited from:
- ShowdownConnection
Search for a battle
Search for a battle
Value parameters
- format
-
the format to search for
Attributes
- Inherited from:
- ShowdownConnection
Send a private message to another player.
Send a private message to another player.
Value parameters
- message
-
the message to send
- recipient
-
the recipient of the message
Attributes
- Inherited from:
- ShowdownConnection