MCPcopy Create free account
hub / github.com/MuYunyun/create-react-doc / createGqlRequest

Function createGqlRequest

packages/leetcode-cli/src/leetcode.js:90–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90const createGqlRequest = async () => {
91 const cookies = await getCookie()
92 const client = new GraphQLClient(graphqlUrl, {
93 headers: getHeaders(cookies),
94 })
95 return client.request.bind(client)
96}
97
98// restful request
99// const createRequest = async () => {

Callers 2

getAllACQuestionsFunction · 0.85
getQuestionDataFunction · 0.85

Calls 2

getCookieFunction · 0.85
getHeadersFunction · 0.85

Tested by

no test coverage detected