# fastAPI-aiohttp-example **Repository Path**: qqizai/fastAPI-aiohttp-example ## Basic Information - **Project Name**: fastAPI-aiohttp-example - **Description**: fastapi + aiohttp 模式:适用于服务端+再请求的方式,异步 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-18 - **Last Updated**: 2023-02-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ![Python](https://github.com/raphaelauv/fastAPI-aiohttp-example/workflows/Python/badge.svg?branch=master) # Full exemple of [FastAPI](https://github.com/tiangolo/fastapi) with an [aiohttp](https://github.com/aio-libs/aiohttp) client ### This is an exemple with FastAPI but you can use this logic with any async ( ASGI ) web framework # #### Implemented logic : (with a fake server mocking answer of aiohttp) - Open ClientSession at fastAPI startup - Close ClientSession at fastAPI shutdown ## Tests - fastAPI endpoint test - aiohttp test