Package-level declarations

Provides the general functionality of the library with the endpoints and the overall bindings for the Xenos API. This is the primary way that users will be interacting with the Xenos API.

Types

Link copied to clipboard
class GrpcXenosClient(host: String, port: Int = DEFAULT_XENOS_PORT) : XenosClient

A GrpcXenosClient represents the gRPC implementation of the Xenos Client. The implementation is based on the official Protobuf definitions released with Xenos. Each platform only needs to use one implementation of the Xenos Client, but is free to choose it freely. This implementation is really fast and should be preferred if Xenos is deployed with gRPC.

Link copied to clipboard

A XenosClient represents the interface to Xenos, through which user and profile data regarding specific accounts may be retrieved. This client may be used to interact with a specific Xenos instance and its datastore. No internal caching is performed, as the latency to Xenos should already be pretty low and caching twice could introduce more stale data into the lookups.