Skip to main content
Module

x/grm/deps.ts>Handler

MTProto API Client for Deno 🦕
Go to Latest
interface Handler
import { type Handler } from "https://deno.land/x/grm@0.6.0/deps.ts";

Methods

onparserinit(parser: Parser): void
onreset(): void

Resets the handler back to starting state

onend(): void

Signals the handler that parsing is done

onerror(error: Error): void
onclosetag(name: string): void
onopentagname(name: string): void
onattribute(name: string, value: string): void
onopentag(name: string, attribs: { [s: string]: string; }): void
ontext(data: string): void
oncomment(data: string): void
oncdatastart(): void
oncdataend(): void
oncommentend(): void
onprocessinginstruction(name: string, data: string): void