30 lines
1.2 KiB
Java
30 lines
1.2 KiB
Java
package com.discord.utilities.websocket;
|
|
|
|
import com.discord.utilities.websocket.WebSocket;
|
|
import d0.z.d.o;
|
|
import kotlin.Unit;
|
|
import kotlin.jvm.functions.Function0;
|
|
import okhttp3.Response;
|
|
import okhttp3.WebSocket;
|
|
/* compiled from: WebSocket.kt */
|
|
public final class WebSocket$connect$1$onOpen$1 extends o implements Function0<Unit> {
|
|
public final /* synthetic */ Response $response;
|
|
public final /* synthetic */ WebSocket $webSocket;
|
|
public final /* synthetic */ WebSocket$connect$1 this$0;
|
|
|
|
/* JADX INFO: super call moved to the top of the method (can break code semantics) */
|
|
public WebSocket$connect$1$onOpen$1(WebSocket$connect$1 webSocket$connect$1, WebSocket webSocket, Response response) {
|
|
super(0);
|
|
this.this$0 = webSocket$connect$1;
|
|
this.$webSocket = webSocket;
|
|
this.$response = response;
|
|
}
|
|
|
|
@Override // kotlin.jvm.functions.Function0
|
|
/* renamed from: invoke */
|
|
public final void mo1invoke() {
|
|
WebSocket.access$setClient$p(this.this$0.this$0, this.$webSocket);
|
|
WebSocket.access$setState$p(this.this$0.this$0, WebSocket.State.CONNECTED);
|
|
this.this$0.this$0.getOnOpened().invoke(new WebSocket.Opened(this.$response));
|
|
}
|
|
}
|