Uses of Class
masecla.modrinth4j.client.agent.UserAgent
Packages that use UserAgent
Package
Description
-
Uses of UserAgent in masecla.modrinth4j.client
Constructors in masecla.modrinth4j.client with parameters of type UserAgentModifierConstructorDescriptionHttpClient(UserAgent userAgent, String apiKey) Creates a new instance of the client.HttpClient(UserAgent userAgent, String baseUrl, String apiKey) Creates a new instance of the client.HttpClient(UserAgent userAgent, String baseUrl, String apiKey, long timeout) Creates a new instance of the client. -
Uses of UserAgent in masecla.modrinth4j.client.instances
Constructors in masecla.modrinth4j.client.instances with parameters of type UserAgentModifierConstructorDescriptionRatelimitedHttpClient(UserAgent userAgent, String apiKey) Creates a new instance of the client.RatelimitedHttpClient(UserAgent userAgent, String baseUrl, String apiKey) Creates a new instance of the client.RatelimitedHttpClient(UserAgent userAgent, String baseUrl, String apiKey, long timeout) Creates a new instance of the client.UnlimitedHttpClient(UserAgent userAgent, String apiKey) Deprecated.Creates a new instance of the client.UnlimitedHttpClient(UserAgent userAgent, String baseUrl, String apiKey) Deprecated.Creates a new instance of the client.UnlimitedHttpClient(UserAgent userAgent, String baseUrl, String apiKey, long timeout) Deprecated.Creates a new instance of the client. -
Uses of UserAgent in masecla.modrinth4j.main
Methods in masecla.modrinth4j.main with parameters of type UserAgentModifier and TypeMethodDescriptionstatic ModrinthAPIModrinthAPI.rateLimited(UserAgent agent, String apiKey) Returns a client which will send requests and adjust speed based on rate limitsstatic ModrinthAPIModrinthAPI.rateLimited(UserAgent agent, String url, String apiKey) Returns a client which will send requests and adjust speed based on rate limitsstatic ModrinthAPIModrinthAPI.rateLimited(UserAgent agent, String url, String apiKey, long timeout) Returns a client which will send requests and adjust speed based on rate limitsstatic ModrinthAPIDeprecated.static ModrinthAPIDeprecated.- UseModrinthAPI.rateLimited(UserAgent, String, String)instead.static ModrinthAPIDeprecated.- UseModrinthAPI.rateLimited(UserAgent, String, String, long)instead.
ModrinthAPI.rateLimited(UserAgent, String)instead.