Server SDKs
Build AI agents, control calls, send messages, and more
Return a Hono-compatible middleware that appends the Strict-Transport-Security header to every response.
Strict-Transport-Security
None.
(c: any, next: () => Promise<void>) => Promise<void> — A Hono middleware function.
(c: any, next: () => Promise<void>) => Promise<void>
1import { SslConfig } from '@signalwire/sdk';2import { Hono } from 'hono';34const ssl = new SslConfig({ enabled: true });5const app = new Hono();6app.use('*', ssl.hstsMiddleware());