Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings
ladjs

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

superagent synchronous request#434

Unanswered
jan-krakora asked this question inQ&A
Discussion options

Hi, is it possible to do a synchronous request using thesuperagent library?

I need to call a server duringbeforeunload event, but the request is cancelled by the browser. I suppose this is because it is asynchronous and the request don't start before the browser unload the page.

Using jquery it was possible. Something like$.ajaxSetup({ async: false })

You must be logged in to vote

Replies: 0 comments

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
1 participant
@jan-krakora

[8]ページ先頭

©2009-2025 Movatter.jp