Http Proxy¶
Http Proxy to be used as provider url in verifier.
Attributes¶
PROXY_PORT = 1234
module-attribute
¶
UVICORN_LOGGING_LEVEL = 'error'
module-attribute
¶
app = FastAPI()
module-attribute
¶
items = {'states': None}
module-attribute
¶
log = logging.getLogger(__name__)
module-attribute
¶
Functions¶
ping()
¶
root(request: Request)
async
¶
run_proxy()
¶
Rub HTTP Proxy.
Source code in src/pact/http_proxy.py
setup(request: Request)
async
¶
Endpoint to setup states.
Use localstack to store payload.