Notice
Recent Posts
Recent Comments
Link
목록URLSessionConfiguration (1)
투케이2K
188. (swift5/xcode) [간단 소스] URLSessionConfiguration 사용해 http 요청 connection, read, write time out 설정
[개발 환경 설정] 개발 툴 : XCODE 개발 언어 : SWIFT5 [소스 코드] // ----------------------------------------- // [URLRequest 생성 실시] // ----------------------------------------- let urlComponents = URLComponents(string: "http://jsonplaceholder.typicode.com/posts?userId=1&id=1") var requestURL = URLRequest(url: (urlComponents?.url)!) requestURL.httpMethod = "GET" requestURL.addValue("application/x-www-form-urle..
Swift
2023. 12. 10. 11:25