.. _object_HttpServerRoute: :index:`HttpServerRoute` ------------------------ Description *********** :**› Inherits**: :ref:`Object ` Overview ******** Properties ++++++++++ .. hlist:: :columns: 1 * :ref:`asynchronous ` * :ref:`method ` * :ref:`path ` * :ref:`Object.objectId ` * :ref:`Object.parent ` Methods +++++++ .. hlist:: :columns: 1 * :ref:`Object.deserializeProperties() ` * :ref:`Object.fromJson() ` * :ref:`Object.serializeProperties() ` * :ref:`Object.toJson() ` Signals +++++++ .. hlist:: :columns: 1 * :ref:`Object.completed() ` Properties ********** .. _property_HttpServerRoute_asynchronous: .. _signal_HttpServerRoute_asynchronousChanged: .. index:: single: asynchronous asynchronous ++++++++++++ This property holds the whether the route is being handled asynchronuously, i.e. the handler method receives a :ref:`HttpServerResponder ` in the second parameter (first is the request) and has to send the response manually. :**› Type**: Boolean :**› Signal**: asynchronousChanged() :**› Attributes**: Writable .. _property_HttpServerRoute_method: .. _signal_HttpServerRoute_methodChanged: .. index:: single: method method ++++++ This property holds the HTTP method which the route should handle. :**› Type**: :ref:`HttpServerRequest.Method ` :**› Signal**: methodChanged() :**› Attributes**: Writable .. _property_HttpServerRoute_path: .. _signal_HttpServerRoute_pathChanged: .. index:: single: path path ++++ This property holds the path which the route should handle. :**› Type**: String :**› Signal**: pathChanged() :**› Attributes**: Writable Example ******* See :ref:`HttpServer example ` on how to use HttpServerRoute.