통신 XMLHttpRequest.timeout

황제낙엽 2018.11.03 14:36 조회 수 : 779

sitelink1 https://developer.mozilla.org/en-US/docs...st/timeout 
sitelink2  
sitelink3  
sitelink4  
extra_vars4  
extra_vars5  
extra_vars6  

 

The XMLHttpRequest.timeout property is an unsigned long representing the number of milliseconds a request can take before automatically being terminated. The default value is 0, which means there is no timeout. Timeout shouldn't be used for synchronous XMLHttpRequests requests used in a document environment or it will throw an InvalidAccessError exception. When a timeout happens, a timeout event is fired.

Note: You may not use a timeout for synchronous requests with an owning window.
Using a timeout with an asynchronous request 

In Internet Explorer, the timeout property may be set only after calling the open() method and before calling the send() method.

번호 제목 글쓴이 날짜 조회 수
30 [Gemini] ajax 와 fetch 의 차이 황제낙엽 2025.01.04 494
29 fetch() 사용 예제들 황제낙엽 2024.07.09 517
28 [Copilot] JavaScript로 서버에 특정 값을 POST 방식으로 전달하고 응답을 기다리지 않고 바로 종료 황제낙엽 2024.05.31 708
27 fetch() 함수 사용 예제 file 황제낙엽 2023.11.23 753
26 How to build a file upload service with vanilla JavaScript file 황제낙엽 2023.08.22 587
25 모바일 브라우저에서 file input element 를 이용하여 여러장의 이미지를 서버에 전송하려 할때 [1] 황제낙엽 2023.08.21 642
24 [URLSearchParams] URL 파라미터(매개변수) 값 가져오기 file 황제낙엽 2023.02.02 659
23 Fetch API (CORS 극복을 위한 노력) 황제낙엽 2021.12.05 730
22 두 서버의 자원을 접근하는 클라이언트 프레임웍(Next.js)에서의 CORS오류 file 황제낙엽 2021.12.05 736
21 CORS 의 내용과 이에 대한 우회 방안들 file 황제낙엽 2021.12.05 728
20 client 통신 기술 jquery ajax, fetch, axios 황제낙엽 2021.12.05 505
19 XMLHttpRequest Specification 황제낙엽 2021.04.29 634
» XMLHttpRequest.timeout 황제낙엽 2018.11.03 779
17 XMLHttpRequest 제대로 활용하기 file 황제낙엽 2017.08.01 564
16 Ajax (XMLHttpRequest) 샘플 황제낙엽 2017.08.01 608
15 Javascript CORS/XSS 극복하는(피하는) 방법 file 황제낙엽 2017.07.31 1188
14 HTTP 접근 제어 (CORS) 황제낙엽 2017.05.29 611
13 CORS(Cross-Origin Resource Sharing) - 5 file 황제낙엽 2017.03.07 783
12 CORS(Cross-Origin Resource Sharing) - 4 file 황제낙엽 2017.03.07 1376
11 CORS(Cross-Origin Resource Sharing) - 3 file 황제낙엽 2017.03.07 558