Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/eggjs/examples
/ render
Method
render
helloworld/app/controller/foo.ts:4–10 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
2
3
export
default
class
FooController extends Controller {
4
async
render() {
5
const
ctx = this.ctx;
6
ctx.status = 400;
7
ctx.body = {
8
foo:
'bar'
,
9
};
10
}
11
}
Callers
10
list
Method · 0.45
detail
Method · 0.45
user
Method · 0.45
list
Method · 0.45
detail
Method · 0.45
user
Method · 0.45
list
Method · 0.45
list
Method · 0.45
detail
Method · 0.45
user
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected