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

Packages that use ServerConnectRequest
Package
Description
net.md_5.bungee.api
net.md_5.bungee.api.connection
net.md_5.bungee.api.event

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

  Methods in net.md_5.bungee.api that return ServerConnectRequest
  Modifier and Type
  Method
  Description
  `ServerConnectRequest`
  ServerConnectRequest.Builder.`build()`

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

  Methods in net.md_5.bungee.api.connection with parameters of type ServerConnectRequest
  Modifier and Type
  Method
  Description
  `void`
  ProxiedPlayer.`connect(ServerConnectRequest request)`
  Connects / transfers this user to the specified connection, gracefully closing the current one.

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

  Methods in net.md_5.bungee.api.event that return ServerConnectRequest
  Modifier and Type
  Method
  Description
  `ServerConnectRequest`
  ServerConnectEvent.`getRequest()`
  Request used to connect to given server.
  Constructors in net.md_5.bungee.api.event with parameters of type ServerConnectRequest
  Modifier
  Constructor
  Description
  ``
  `ServerConnectEvent(ProxiedPlayer player, ServerInfo target, ServerConnectEvent.Reason reason, ServerConnectRequest request)`