TriggerServerOptions
Parameters and properties
Section titled “Parameters and properties”queueRequiredTaskQueueQueue receiving the jobs; a rejected enqueue answers 503.routesRequiredreadonly TriggerRoute[]At least one route with a unique path.hostOptionalstring | undefinedListening address; defaults to 127.0.0.1. Expose the server through a TLS-terminating proxy.portOptionalnumber | undefinedListening port; 0 or omitted selects a free port reported in url.maxBytesOptionalnumber | undefinedRequest body limit in bytes; defaults to 1 MiB, at most 25 MiB. Larger bodies answer 413.onErrorOptional((error: unknown, failure: TriggerFailure) => void) | undefinedObserves verification, routing and publication failures with the path and, after verification, the delivery; never receives secrets. Errors thrown by the callback are ignored.