통신 XMLHttpRequest.timeout

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

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.

번호 제목 글쓴이 날짜 조회 수
206 [GitHub] JavaScript Algorithms and Data Structures (알고리즘과 자료구조) file 황제낙엽 2021.03.01 929
205 콜백지옥과 비동기제어 file 황제낙엽 2021.02.18 1777
204 Json 특징 및 문법 황제낙엽 2021.01.26 767
203 비동기프로그래밍 - 콜백함수(Callback function) file 황제낙엽 2020.08.26 1006
202 Strict 모드 황제낙엽 2020.08.23 1074
201 window.postMessage() 황제낙엽 2020.07.29 4769
200 withCredentials 관련 황제낙엽 2020.07.29 859
199 CORS 관련 레퍼런스 URL 황제낙엽 2020.07.10 979
198 ECMA 스크립트의 JSON 황제낙엽 2019.10.16 669
197 경과 시간 구하기 황제낙엽 2019.10.04 1944
196 입력받은 날짜와 현재 날짜와의 비교 함수 황제낙엽 2019.08.02 1772
195 사용자 모듈 만들기 황제낙엽 2019.07.09 42587
194 charcode 32와 160 차이 (javascript char 160 to 32) 황제낙엽 2019.05.11 760
193 UTF-8 한글 초성 추출 (자바스크립트) 황제낙엽 2019.05.07 1133
192 IE브라우저에서 서버의 XML파일을 ajax로 가져와 DOM파싱하는 예제 (XMLHttpRequest, XML, ActiveXObject) 황제낙엽 2018.11.23 1044
» XMLHttpRequest.timeout 황제낙엽 2018.11.03 1278
190 부동소수점 (floating-point) file 황제낙엽 2018.03.26 1979
189 User Agent Parser들 황제낙엽 2017.11.20 9736
188 window.postMessage 이해하기 file 황제낙엽 2017.10.16 1934
187 브라우저의 새로고침과 종료에 대한 이벤트 황제낙엽 2017.08.11 3657