QHttpServerResponse#
Synopsis#
Functions#
def
addHeader
(name, value)def
clearHeader
(name)def
clearHeaders
()def
data
()def
hasHeader
(name)def
hasHeader
(name, value)def
headers
(name)def
mimeType
()def
setHeader
(name, value)def
statusCode
()
Static functions#
def
fromFile
(fileName)
Detailed Description#
- class PySide6.QtHttpServer.QHttpServerResponse(data[, status=QHttpServerResponder.StatusCode.Ok])#
PySide6.QtHttpServer.QHttpServerResponse(mimeType, data[, status=QHttpServerResponder.StatusCode.Ok])
PySide6.QtHttpServer.QHttpServerResponse(mimeType, data[, status=QHttpServerResponder.StatusCode.Ok])
PySide6.QtHttpServer.QHttpServerResponse(data[, status=QHttpServerResponder.StatusCode.Ok])
PySide6.QtHttpServer.QHttpServerResponse(mimeType, data[, status=QHttpServerResponder.StatusCode.Ok])
PySide6.QtHttpServer.QHttpServerResponse(mimeType, data[, status=QHttpServerResponder.StatusCode.Ok])
PySide6.QtHttpServer.QHttpServerResponse(statusCode)
PySide6.QtHttpServer.QHttpServerResponse(data[, status=QHttpServerResponder.StatusCode.Ok])
PySide6.QtHttpServer.QHttpServerResponse(data[, status=QHttpServerResponder.StatusCode.Ok])
PySide6.QtHttpServer.QHttpServerResponse(data[, status=QHttpServerResponder.StatusCode.Ok])
PySide6.QtHttpServer.QHttpServerResponse(data[, status=QHttpServerResponder.StatusCode.Ok])
- Parameters
data –
PySide6.QtCore.QByteArray
statusCode –
StatusCode
mimeType –
PySide6.QtCore.QByteArray
status –
StatusCode
- PySide6.QtHttpServer.QHttpServerResponse.addHeader(name, value)#
- Parameters
name –
PySide6.QtCore.QByteArray
value –
PySide6.QtCore.QByteArray
- PySide6.QtHttpServer.QHttpServerResponse.clearHeader(name)#
- Parameters
name –
PySide6.QtCore.QByteArray
- PySide6.QtHttpServer.QHttpServerResponse.clearHeaders()#
- PySide6.QtHttpServer.QHttpServerResponse.data()#
- Return type
- static PySide6.QtHttpServer.QHttpServerResponse.fromFile(fileName)#
- Parameters
fileName – str
- Return type
- PySide6.QtHttpServer.QHttpServerResponse.hasHeader(name)#
- Parameters
name –
PySide6.QtCore.QByteArray
- Return type
bool
- PySide6.QtHttpServer.QHttpServerResponse.hasHeader(name, value)
- Parameters
name –
PySide6.QtCore.QByteArray
value –
PySide6.QtCore.QByteArray
- Return type
bool
- PySide6.QtHttpServer.QHttpServerResponse.headers(name)#
- Parameters
name –
PySide6.QtCore.QByteArray
- Return type
- PySide6.QtHttpServer.QHttpServerResponse.mimeType()#
- Return type
- PySide6.QtHttpServer.QHttpServerResponse.setHeader(name, value)#
- Parameters
name –
PySide6.QtCore.QByteArray
value –
PySide6.QtCore.QByteArray
- PySide6.QtHttpServer.QHttpServerResponse.statusCode()#
- Return type