package websocket

  1. Overview
  2. Docs
val init : ?state:Stdlib.Random.State.t -> unit -> int -> string

init ?state () is a function that returns a string of random bytes of length equal to its argument.