Skip to content

async xhr requests #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

skrukwa
Copy link

@skrukwa skrukwa commented May 27, 2025

Idea

  • GetJson should probably not call synchronous (blocking) functions. In particular, getXhr should call an async getFormDigest

Changes

  • add async GetContextWebInformation
  • refactor getFormDigest to support async
  • refactor getXhr to support async (and also clean up logic using a helper configureXhrHeaders)

@skrukwa skrukwa force-pushed the async-xhr-requests branch from 1694e5d to 6854ed0 Compare May 27, 2025 19:32
@skrukwa skrukwa changed the title Async xhr requests async xhr requests Jun 17, 2025
@skrukwa skrukwa marked this pull request as ready for review June 23, 2025 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant