Struct async_minecraft_ping::ConnectionConfig [−][src]
pub struct ConnectionConfig { /* fields omitted */ }Expand description
Builder for a Minecraft ServerListPing connection.
Implementations
Initiates the Minecraft server connection build process.
Sets a specific protocol version for the connection to use. If not specified, the latest version will be used.
Sets a specific port for the connection to use. If not specified, the default port of 25565 will be used.
Sets a specific timeout for the connection to use. If not specified, the timeout defaults to two seconds.
Connects to the server and consumes the builder.
