Subgroup: Buffer

Class: QgsBufferServerRequest

class qgis.server.QgsBufferServerRequest(url: str, method: QgsServerRequest.Method = QgsServerRequest.GetMethod, headers: Dict[str, str] = {}, data: Union[QByteArray, bytes, bytearray] = None)

Bases: qgis._server.QgsServerRequest

Constructor

Parameters:
  • url – the url string
  • method – the request method, default to GET
  • headers – optional dictionary of header name-values
  • data – optional POST data

QgsBufferServerRequest(url: QUrl, method: QgsServerRequest.Method = QgsServerRequest.GetMethod, headers: Dict[str, str] = {}, data: Union[QByteArray, bytes, bytearray] = None) Constructor

Parameters:
  • url – QUrl
  • method – the request method, default to GET
  • headers – optional dictionary of header name-values
  • data – optional POST data

QgsBufferServerRequest(QgsBufferServerRequest)

Class defining request with data

New in version 3.0: Methods

data

Signals

Attributes

data(self) → QByteArray