gemini-protocol.js
1 import makeFetch from 'gemini-fetch'
2 import fetchToHandler from './fetch-to-handler.js'
3
4 export default async function createHandler () {
5 return fetchToHandler(async () => {
6 const fetch = makeFetch()
7
8 return fetch
9 })
10 }