2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_3521 net/minecraft/client/util/NetworkUtils
|
2021-03-27 10:26:40 -04:00
|
|
|
COMMENT A few client-side networking utilities.
|
|
|
|
COMMENT
|
|
|
|
COMMENT @implNote This is not marked as client-only because it's used by the
|
|
|
|
COMMENT {@code /publish} command, which is only available to integrated servers
|
|
|
|
COMMENT yet was retained by proguard.
|
|
|
|
FIELD field_15664 EXECUTOR Lcom/google/common/util/concurrent/ListeningExecutorService;
|
2022-01-19 12:26:32 -05:00
|
|
|
FIELD field_15665 LOGGER Lorg/slf4j/Logger;
|
2021-03-27 10:26:40 -04:00
|
|
|
METHOD method_15301 downloadResourcePack (Ljava/io/File;Ljava/lang/String;Ljava/util/Map;ILnet/minecraft/class_3536;Ljava/net/Proxy;)Ljava/util/concurrent/CompletableFuture;
|
2021-05-23 14:12:20 -04:00
|
|
|
ARG 0 file
|
|
|
|
ARG 1 url
|
|
|
|
ARG 2 headers
|
|
|
|
ARG 3 maxFileSize
|
|
|
|
ARG 4 progressListener
|
|
|
|
ARG 5 proxy
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_15302 findLocalPort ()I
|
2021-05-23 14:12:20 -04:00
|
|
|
METHOD method_34936 post (Ljava/net/URL;Ljava/lang/String;ZLjava/net/Proxy;)Ljava/lang/String;
|
|
|
|
ARG 0 url
|
|
|
|
ARG 1 content
|
|
|
|
ARG 2 ignoreError
|
|
|
|
ARG 3 proxy
|
|
|
|
METHOD method_34937 post (Ljava/net/URL;Ljava/util/Map;ZLjava/net/Proxy;)Ljava/lang/String;
|
|
|
|
ARG 0 url
|
|
|
|
ARG 1 query
|
|
|
|
ARG 2 ignoreError
|
|
|
|
ARG 3 proxy
|
|
|
|
METHOD method_34938 makeQueryString (Ljava/util/Map;)Ljava/lang/String;
|
|
|
|
ARG 0 query
|