prelude: :gerbil/compiler/ssxi
package: std/net

(begin
  (declare-type std/net/websocket#open-websocket-client__% (@lambda 6 #f))
  (declare-type
   std/net/websocket#open-websocket-client__@
   (@kw-lambda-dispatch
    (redirect: headers: cookies: params:)
    std/net/websocket#open-websocket-client__%))
  (declare-type
   std/net/websocket#open-websocket-client
   (@kw-lambda
    (params: cookies: redirect: headers:)
    std/net/websocket#open-websocket-client__@))
  (declare-type std/net/websocket#url->request-url (@lambda 1 #f))
  (declare-type
   std/net/websocket#websocket::t
   (@struct-type std/net/websocket#websocket::t #f 7 :init! ((final: . #t))))
  (declare-type
   std/net/websocket#websocket?
   (@struct-pred std/net/websocket#websocket::t))
  (declare-type
   std/net/websocket#make-websocket
   (@struct-cons std/net/websocket#websocket::t))
  (declare-type
   std/net/websocket#websocket-port
   (@struct-getf std/net/websocket#websocket::t 0 #f))
  (declare-type
   std/net/websocket#websocket-rd
   (@struct-getf std/net/websocket#websocket::t 1 #f))
  (declare-type
   std/net/websocket#websocket-wr
   (@struct-getf std/net/websocket#websocket::t 2 #f))
  (declare-type
   std/net/websocket#websocket-cs
   (@struct-getf std/net/websocket#websocket::t 3 #f))
  (declare-type
   std/net/websocket#websocket-q
   (@struct-getf std/net/websocket#websocket::t 4 #f))
  (declare-type
   std/net/websocket#websocket-mx
   (@struct-getf std/net/websocket#websocket::t 5 #f))
  (declare-type
   std/net/websocket#websocket-cv
   (@struct-getf std/net/websocket#websocket::t 6 #f))
  (declare-type
   std/net/websocket#websocket-port-set!
   (@struct-setf std/net/websocket#websocket::t 0 #f))
  (declare-type
   std/net/websocket#websocket-rd-set!
   (@struct-setf std/net/websocket#websocket::t 1 #f))
  (declare-type
   std/net/websocket#websocket-wr-set!
   (@struct-setf std/net/websocket#websocket::t 2 #f))
  (declare-type
   std/net/websocket#websocket-cs-set!
   (@struct-setf std/net/websocket#websocket::t 3 #f))
  (declare-type
   std/net/websocket#websocket-q-set!
   (@struct-setf std/net/websocket#websocket::t 4 #f))
  (declare-type
   std/net/websocket#websocket-mx-set!
   (@struct-setf std/net/websocket#websocket::t 5 #f))
  (declare-type
   std/net/websocket#websocket-cv-set!
   (@struct-setf std/net/websocket#websocket::t 6 #f))
  (declare-type std/net/websocket#websocket:::init! (@lambda 2 #f))
  (declare-method
   std/net/websocket#websocket::t
   :init!
   std/net/websocket#websocket:::init!
   #f)
  (declare-type std/net/websocket#make-websocket-client (@lambda 1 #f))
  (declare-type std/net/websocket#websocket-send (@lambda 3 #f))
  (declare-type std/net/websocket#websocket-write (@lambda 2 #f))
  (declare-type std/net/websocket#websocket-recv__% (@lambda 3 #f))
  (declare-type std/net/websocket#websocket-recv__0 (@lambda 1 #f))
  (declare-type std/net/websocket#websocket-recv__1 (@lambda 2 #f))
  (declare-type
   std/net/websocket#websocket-recv
   (@case-lambda
    (1 std/net/websocket#websocket-recv__0)
    (2 std/net/websocket#websocket-recv__1)
    (3 std/net/websocket#websocket-recv__%)))
  (declare-type std/net/websocket#websocket-read__% (@lambda 3 #f))
  (declare-type std/net/websocket#websocket-read__0 (@lambda 1 #f))
  (declare-type std/net/websocket#websocket-read__1 (@lambda 2 #f))
  (declare-type
   std/net/websocket#websocket-read
   (@case-lambda
    (1 std/net/websocket#websocket-read__0)
    (2 std/net/websocket#websocket-read__1)
    (3 std/net/websocket#websocket-read__%)))
  (declare-type std/net/websocket#websocket-close__%__% (@lambda 4 #f))
  (declare-type std/net/websocket#websocket-close__%__0 (@lambda 3 #f))
  (declare-type
   std/net/websocket#websocket-close__%
   (@case-lambda
    (3 std/net/websocket#websocket-close__%__0)
    (4 std/net/websocket#websocket-close__%__%)))
  (declare-type
   std/net/websocket#websocket-close__@
   (@kw-lambda-dispatch (hard:) std/net/websocket#websocket-close__%))
  (declare-type
   std/net/websocket#websocket-close
   (@kw-lambda (hard:) std/net/websocket#websocket-close__@))
  (declare-type std/net/websocket#set-websocket-max-frame-size! (@lambda 1 #f))
  (declare-type
   std/net/websocket#set-websocket-max-message-size!
   (@lambda 1 #f))
  (declare-type std/net/websocket#websocket-reader (@lambda 1 #f))
  (declare-type std/net/websocket#websocket-writer (@lambda 1 #f)))
