okhttp3.internal.ws.WebSocketWriter.class Maven / Gradle / Ivy
???? 4 ? #okhttp3/internal/ws/WebSocketWriter java/lang/Object java/io/Closeable ,(ZLokio/BufferedSink;Ljava/util/Random;ZZJ)V #Lorg/jetbrains/annotations/NotNull; sink
kotlin/jvm/internal/Intrinsics checkNotNullParameter '(Ljava/lang/Object;Ljava/lang/String;)V
random ()V
isClient Z Lokio/BufferedSink;
Ljava/util/Random; perMessageDeflate ! " noContextTakeover $ % minimumDeflateSize J ' ( ) okio/Buffer +
,
messageBuffer
Lokio/Buffer; . / 0 okio/BufferedSink 2 getBuffer ()Lokio/Buffer; 4 5 3 6
sinkBuffer 8 / 9 maskKey [B ; < = okio/Buffer$UnsafeCursor ?
@
maskCursor Lokio/Buffer$UnsafeCursor; B C D this %Lokhttp3/internal/ws/WebSocketWriter; java/util/Random H < getSink ()Lokio/BufferedSink; getRandom ()Ljava/util/Random; writePing (Lokio/ByteString;)V java/io/IOException Q payload S writeControlFrame (ILokio/ByteString;)V U V
W Lokio/ByteString; writePong
writeClose $Lorg/jetbrains/annotations/Nullable; okio/ByteString ] EMPTY _ Y ^ ` %okhttp3/internal/ws/WebSocketProtocol b INSTANCE 'Lokhttp3/internal/ws/WebSocketProtocol; d e c f validateCloseCode (I)V h i
c j
writeShort (I)Lokio/Buffer; l m
, n write (Lokio/ByteString;)Lokio/Buffer; p q
, r readByteString ()Lokio/ByteString; t u
, v writerClosed x y &$i$a$-run-WebSocketWriter$writeClose$1 I $this$writeClose_u24lambda_u2d0 code reason java/lang/Throwable ? closed ? (Ljava/lang/String;)V ?
R ? size ()I ? ?
^ ? } .Payload size must be less than or equal to 125 ? "java/lang/IllegalArgumentException ? toString ()Ljava/lang/String; ? ?
?
? ? writeByte ? m
, ? checkNotNull (Ljava/lang/Object;)V ? ?
? nextBytes ([B)V ? ?
I ? ([B)Lokio/Buffer; p ?
, ? ()J ? ?
, ? readAndWriteUnsafe 6(Lokio/Buffer$UnsafeCursor;)Lokio/Buffer$UnsafeCursor; ? ?
, ? seek (J)I ? ?
@ ?
toggleMask (Lokio/Buffer$UnsafeCursor;[B)V ? ?
c ? close ?
@ ? flush ? 3 ? 1$i$a$-require-WebSocketWriter$writeControlFrame$1 payloadStart length b0 b1 opcode writeMessageFrame data ? messageDeflater %Lokhttp3/internal/ws/MessageDeflater; ? ? ? #okhttp3/internal/ws/MessageDeflater ? (Z)V ?
? ? deflate (Lokio/Buffer;)V ? ?
? ? ?? writeLong (J)Lokio/Buffer; ? ?
, ? (Lokio/Buffer;J)V p ?
, ? emit ? L 3 ? >$i$a$-also-WebSocketWriter$writeMessageFrame$messageDeflater$1 it dataSize formatOpcode
? ? Lkotlin/Metadata; mv k xi 0 d1??V
??
??
??
??
??
??
??
??20B50000 0
0¢J0HJ0202 0!J"02#02$0!HJ%02&02'0!J(02$0!J)02$0!R0X¢
??R
0X¢
??R0X¢
??R0X¢
??R0X¢
??R
0X¢
??R 0X¢
??R0X¢
??R0¢
??R0¢
??R0X¢
??R0X¢
??¨* d2 Ljava/io/Closeable; okhttp WebSocketWriter.kt RuntimeInvisibleAnnotations Code
StackMapTable LineNumberTable LocalVariableTable $RuntimeInvisibleParameterAnnotations
Exceptions
SourceFile SourceDebugExtension RuntimeVisibleAnnotations 1
? ? ! $ ' ( . / ? 8 / ? x ? ? ? \ ; <