RxAlamofire
-
RxAlamofireSwift/RxSwift 2022. 10. 3. 00:01
https://github.com/RxSwiftCommunity/RxAlamofire 책을 뒤져보다가 우연히 RxAlamofire 를 발견했다. (RxCommunity 프로젝트들 중 하나.) Alamofire 는 iOS 진영에서 매우매우 많이 쓰는 API Request Framework 이다. RxAlamofire 를 이용해 쓸 수 있는 단순한 형태의 함수들은 아래와 같은 것들이 있다. // retrieve a request result as raw text RxAlamofire.string(method: HTTPMethod, url: URLConvertible) // decoded json 을 return 하기 때문에, .map 을 이용해서 Type 을 바꿔주거나, // 또는 subscription 내..