QHttpServerRouter#
Synopsis#
Functions#
def
addConverter
(metaType, regexp)def
clearConverters
()def
converters
()def
handleRequest
(request, responder)def
removeConverter
(metaType)
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
Detailed Description#
- class PySide6.QtHttpServer.QHttpServerRouter#
- PySide6.QtHttpServer.QHttpServerRouter.addConverter(metaType, regexp)#
- Parameters:
metaType –
PySide6.QtCore.QMetaType
regexp –
QAnyStringView
- PySide6.QtHttpServer.QHttpServerRouter.clearConverters()#
- PySide6.QtHttpServer.QHttpServerRouter.converters()#
- PySide6.QtHttpServer.QHttpServerRouter.handleRequest(request, responder)#
- Parameters:
request –
PySide6.QtHttpServer.QHttpServerRequest
responder –
PySide6.QtHttpServer.QHttpServerResponder
- Return type:
bool
- PySide6.QtHttpServer.QHttpServerRouter.removeConverter(metaType)#
- Parameters:
metaType –
PySide6.QtCore.QMetaType