Module spin_sdk.wit.exports.incoming_handler
This interface defines a handler of incoming HTTP Requests. It should be exported by components which can respond to HTTP Requests.
Expand source code
"""
This interface defines a handler of incoming HTTP Requests. It should
be exported by components which can respond to HTTP Requests.
"""
from typing import TypeVar, Generic, Union, Optional, Union, Protocol, Tuple, List, Any, Self
from enum import Flag, Enum, auto
from dataclasses import dataclass
from abc import abstractmethod
import weakref
from ..types import Result, Ok, Err, Some