# Uses of Class
net.md_5.bungee.api.ServerConnectRequest.Builder

Packages that use ServerConnectRequest.Builder
Package
Description
net.md_5.bungee.api

- ## Uses of ServerConnectRequest.Builder in net.md_5.bungee.api

  Methods in net.md_5.bungee.api that return ServerConnectRequest.Builder
  Modifier and Type
  Method
  Description
  `static ServerConnectRequest.Builder`
  ServerConnectRequest.`builder()`
  `ServerConnectRequest.Builder`
  ServerConnectRequest.Builder.`callback(Callback<ServerConnectRequest.Result> callback)`
  Callback to execute post request.
  `ServerConnectRequest.Builder`
  ServerConnectRequest.Builder.`connectTimeout(int connectTimeout)`
  Timeout in milliseconds for request.
  `ServerConnectRequest.Builder`
  ServerConnectRequest.Builder.`reason(ServerConnectEvent.Reason reason)`
  Reason for connecting to server.
  `ServerConnectRequest.Builder`
  ServerConnectRequest.Builder.`retry(boolean retry)`
  Should the player be attempted to connect to the next server in their queue if the initial request fails.
  `ServerConnectRequest.Builder`
  ServerConnectRequest.Builder.`target(@NonNull ServerInfo target)`
  Target server to connect to.