Skip to main content
The Deno 2 Release Candidate is here
Learn more
class BundleSerializer
extends Serializer
import { BundleSerializer } from "https://deno.land/x/sptaki@1.2.0/routers/mod.ts";

Constructors

new
BundleSerializer(
logger: ILogger,
bundleLoader: BundleLoader,
httpFileUtil: HttpFileUtil,
)

Properties

protected
bundleLoader: BundleLoader
protected
httpFileUtil: HttpFileUtil
protected
logger: ILogger

Methods

canHandle(route: string): boolean
serialize(
sessionID: string,
req: IncomingMessage,
resp: ServerResponse,
body: any,
): void