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