Module Webapi.Blob

module Impl (T : sig ... end) : sig ... end
type t = Fetch.blob
include sig ... end
val arrayBuffer : t -> Js.Typed_array.ArrayBuffer.t Js.Promise.t
val size : t -> float
val slice : ?start:int -> ?end_:int -> ?contentType:string -> t -> t
val stream : t -> Fetch.readableStream
  • since 0.19.0
val text : t -> string Js.Promise.t
val type_ : t -> string
val _type : t -> string

Deprecated, use type_ instead.

  • deprecated Use [type_] instead