We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19bbf12 commit cc61676Copy full SHA for cc61676
lightbug_http/service.mojo
@@ -5,11 +5,6 @@ trait HTTPService:
5
fn func(self, req: HTTPRequest) raises -> HTTPResponse:
6
...
7
8
-@value
9
-struct HelloWorld(HTTPService):
10
- fn func(self, req: HTTPRequest) raises -> HTTPResponse:
11
- return OK("Hello, World!".as_bytes(), "text/plain")
12
-
13
@value
14
struct Printer(HTTPService):
15
0 commit comments