@fangxq/request
Advanced tools
Comparing version 0.0.38 to 0.0.39
@@ -1,1 +0,1 @@ | ||
export async function listen(host: string, port: number, handler: (src: string, req: any) => Promise<any>, wsHandler: (ws:WebSocket)=>Promise<void>): Promise<import('https').Server> | ||
export async function listen(host: string, port: number, handler: (src: string, req: any) => Promise<any>, wsHandler: (ws:WebSocket,req:import('http').IncomingMessage)=>Promise<void>): Promise<import('https').Server> |
@@ -42,3 +42,3 @@ const fs = require('fs') | ||
app.ws('/api', async (ws, req) => { | ||
await wshandler(ws) | ||
await wshandler(ws,req) | ||
}) | ||
@@ -45,0 +45,0 @@ |
{ | ||
"name": "@fangxq/request", | ||
"version": "0.0.38", | ||
"version": "0.0.39", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2910