mirror of
https://github.com/lnbits/lnbits.git
synced 2025-06-01 10:41:09 +02:00
feat: add websocket
param
This commit is contained in:
parent
c4337c268c
commit
36a9906845
@ -3,15 +3,15 @@ from http import HTTPStatus
|
||||
from typing import Any, Mapping, Optional
|
||||
from urllib.parse import urlencode
|
||||
|
||||
from fastapi import HTTPException
|
||||
from fastapi import HTTPException, WebSocket
|
||||
from fastapi.routing import APIRouter
|
||||
from loguru import logger
|
||||
|
||||
|
||||
class HTTPTunnelClient:
|
||||
|
||||
def __init__(self):
|
||||
pass
|
||||
def __init__(self, websocket: WebSocket):
|
||||
self.ws = websocket
|
||||
|
||||
async def request(
|
||||
self,
|
||||
|
Loading…
x
Reference in New Issue
Block a user