├── .gitignore ├── LICENSE ├── Package.resolved ├── Package.swift ├── README-zh-CN.md ├── README.md └── Sources ├── Netrofit ├── AttributeWrappers.swift ├── HTTPBodyDecoder │ ├── DynamicContentTypeDecoder.swift │ ├── EventStreamingDecoder.swift │ ├── HTTPBodyDecoder.swift │ ├── JSONDecoder.swift │ └── TextPlainDecoder.swift ├── HTTPBodyEncoder │ ├── HTTPBodyEncoder.swift │ ├── JSONEncoder.swift │ ├── MultipartEncoder.swift │ ├── TextPlainEncoder.swift │ └── URLEncodedFormEncoder.swift ├── NetrofitMacros.swift ├── NetrofitPlugin.swift ├── NetrofitProvider.swift ├── NetrofitResponse.swift ├── NetrofitSessionProtocols.swift ├── RequestBuilder.swift ├── Utils │ ├── AnyEncodable.swift │ └── String+URLPathPart.swift └── _Netrofit │ ├── _NetrofitSession.swift │ └── _NetrofitTask.swift ├── NetrofitClient └── main.swift ├── NetrofitMacros ├── APIMacro.swift ├── EmptyMacro.swift ├── MethodMacro.swift ├── Plugin.swift └── Utils │ ├── AttributeDecl+.swift │ ├── FunctionDecl+.swift │ ├── PayloadFormat.swift │ └── String+.swift └── NetrofitTests ├── AnyCodable.swift ├── HTTPBinTests.swift ├── LLMSSETests.swift └── TestNetrofitInterceptors.swift /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/LICENSE -------------------------------------------------------------------------------- /Package.resolved: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Package.resolved -------------------------------------------------------------------------------- /Package.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Package.swift -------------------------------------------------------------------------------- /README-zh-CN.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/README-zh-CN.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/README.md -------------------------------------------------------------------------------- /Sources/Netrofit/AttributeWrappers.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/AttributeWrappers.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyDecoder/DynamicContentTypeDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyDecoder/DynamicContentTypeDecoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyDecoder/EventStreamingDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyDecoder/EventStreamingDecoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyDecoder/HTTPBodyDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyDecoder/HTTPBodyDecoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyDecoder/JSONDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyDecoder/JSONDecoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyDecoder/TextPlainDecoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyDecoder/TextPlainDecoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyEncoder/HTTPBodyEncoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyEncoder/HTTPBodyEncoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyEncoder/JSONEncoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyEncoder/JSONEncoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyEncoder/MultipartEncoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyEncoder/MultipartEncoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyEncoder/TextPlainEncoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyEncoder/TextPlainEncoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/HTTPBodyEncoder/URLEncodedFormEncoder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/HTTPBodyEncoder/URLEncodedFormEncoder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/NetrofitMacros.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/NetrofitMacros.swift -------------------------------------------------------------------------------- /Sources/Netrofit/NetrofitPlugin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/NetrofitPlugin.swift -------------------------------------------------------------------------------- /Sources/Netrofit/NetrofitProvider.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/NetrofitProvider.swift -------------------------------------------------------------------------------- /Sources/Netrofit/NetrofitResponse.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/NetrofitResponse.swift -------------------------------------------------------------------------------- /Sources/Netrofit/NetrofitSessionProtocols.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/NetrofitSessionProtocols.swift -------------------------------------------------------------------------------- /Sources/Netrofit/RequestBuilder.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/RequestBuilder.swift -------------------------------------------------------------------------------- /Sources/Netrofit/Utils/AnyEncodable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/Utils/AnyEncodable.swift -------------------------------------------------------------------------------- /Sources/Netrofit/Utils/String+URLPathPart.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/Utils/String+URLPathPart.swift -------------------------------------------------------------------------------- /Sources/Netrofit/_Netrofit/_NetrofitSession.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/_Netrofit/_NetrofitSession.swift -------------------------------------------------------------------------------- /Sources/Netrofit/_Netrofit/_NetrofitTask.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/Netrofit/_Netrofit/_NetrofitTask.swift -------------------------------------------------------------------------------- /Sources/NetrofitClient/main.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitClient/main.swift -------------------------------------------------------------------------------- /Sources/NetrofitMacros/APIMacro.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitMacros/APIMacro.swift -------------------------------------------------------------------------------- /Sources/NetrofitMacros/EmptyMacro.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitMacros/EmptyMacro.swift -------------------------------------------------------------------------------- /Sources/NetrofitMacros/MethodMacro.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitMacros/MethodMacro.swift -------------------------------------------------------------------------------- /Sources/NetrofitMacros/Plugin.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitMacros/Plugin.swift -------------------------------------------------------------------------------- /Sources/NetrofitMacros/Utils/AttributeDecl+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitMacros/Utils/AttributeDecl+.swift -------------------------------------------------------------------------------- /Sources/NetrofitMacros/Utils/FunctionDecl+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitMacros/Utils/FunctionDecl+.swift -------------------------------------------------------------------------------- /Sources/NetrofitMacros/Utils/PayloadFormat.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitMacros/Utils/PayloadFormat.swift -------------------------------------------------------------------------------- /Sources/NetrofitMacros/Utils/String+.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitMacros/Utils/String+.swift -------------------------------------------------------------------------------- /Sources/NetrofitTests/AnyCodable.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitTests/AnyCodable.swift -------------------------------------------------------------------------------- /Sources/NetrofitTests/HTTPBinTests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitTests/HTTPBinTests.swift -------------------------------------------------------------------------------- /Sources/NetrofitTests/LLMSSETests.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitTests/LLMSSETests.swift -------------------------------------------------------------------------------- /Sources/NetrofitTests/TestNetrofitInterceptors.swift: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/winddpan/Netrofit/HEAD/Sources/NetrofitTests/TestNetrofitInterceptors.swift --------------------------------------------------------------------------------