Decorator to mark a class method as a 204 outgoing http response.
The headers for the response.
A method decorator.
import { NoContentHttpResponse } from '@stone-js/http-core';class UserController { @NoContentHttpResponse() getUsers() { return { name: 'John Doe' }; }} Copy
import { NoContentHttpResponse } from '@stone-js/http-core';class UserController { @NoContentHttpResponse() getUsers() { return { name: 'John Doe' }; }}
Decorator to mark a class method as a 204 outgoing http response.