close method

  1. @override
Future close (String correlationId)

Closes this endpoint and the REST server (service) that was opened earlier.

  • correlationId (optional) transaction id to trace execution through call chain. Return once the closing process is complete. Will be called with an error if one is raised.