Skip to content

Commit 271cca8

Browse files
vdicedicej
andcommitted
feat(spin_sdk): updates per spin 4.0.0 wits
- update the sdk modules - update the examples and templates - regenerate docs Signed-off-by: Vaughn Dice <vdice@akamai.com> Co-authored-by: Joel Dice <joel.dice@akamai.com>
1 parent d91763e commit 271cca8

61 files changed

Lines changed: 591 additions & 2573 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ component = "hello"
4848
[component.hello]
4949
source = "app.wasm"
5050
[component.hello.build]
51-
command = "componentize-py -w spin-http componentize app -o app.wasm"
51+
command = "componentize-py -w spin:up/http-trigger@4.0.0 componentize app -o app.wasm"
5252
EOF
5353
```
5454

@@ -57,8 +57,8 @@ cat >app.py <<EOF
5757
from spin_sdk import http
5858
from spin_sdk.http import Request, Response
5959
60-
class IncomingHandler(http.IncomingHandler):
61-
def handle_request(self, request: Request) -> Response:
60+
class WasiHttpHandler030Rc20260315(http.Handler):
61+
async def handle_request(self, request: Request) -> Response:
6262
return Response(
6363
200,
6464
{"content-type": "text/plain"},

docs/v4/http/index.html

Lines changed: 153 additions & 64 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)