QHttpServer#

Inheritance diagram of PySide6.QtHttpServer.QHttpServer

Synopsis#

Functions#

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:

parentPySide6.QtCore.QObject

PySide6.QtHttpServer.QHttpServer.afterRequest(callback)#
Parameters:

callbackPyCallable

PySide6.QtHttpServer.QHttpServer.route(rule, callback)#
Parameters:
  • rule – str

  • callbackPyCallable

Return type:

bool

PySide6.QtHttpServer.QHttpServer.router()#
Return type:

PySide6.QtHttpServer.QHttpServerRouter