Package 

Class ZeroGpuWebSocket


  • 
    public final class ZeroGpuWebSocket
    
                        

    A single device WebSocket session. Instances are single-use: connect once, disconnect once. The owning ai.zerogpu.android.sdk.ZeroGpuSdk creates a fresh instance per (re)connection and drives the foreground/background lifecycle; this class only opens the socket, does the hello handshake, relays tasks, and reports terminal closure via onClosed. The OkHttpClient is shared and owned by the node (so reconnects don't leak thread/connection pools).