Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/socket_client/deps.ts>BufReader#reset

A simple WebSocket client for Deno
Latest
method BufReader.prototype.reset
import { BufReader } from "https://deno.land/x/socket_client@0.1.0-alpha.1/deps.ts";

Discards any buffered data, resets all state, and switches the buffered reader to read from r.

Parameters

r: Reader