QHttpServer#
Synopsis#
Functions#
- def - afterRequest(callback)
- def - route(rule, callback)
- def - router()
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.QHttpServer([parent=None])#
- Parameters:
- parent – - PySide6.QtCore.QObject
 
- PySide6.QtHttpServer.QHttpServer.afterRequest(callback)#
- Parameters:
- callback – - PyCallable
 
- PySide6.QtHttpServer.QHttpServer.route(rule, callback)#
- Parameters:
- rule – str 
- callback – - PyCallable
 
- Return type:
- bool 
 
- PySide6.QtHttpServer.QHttpServer.router()#
- Return type: