{"id":40042,"date":"2023-07-12T15:59:22","date_gmt":"2023-07-12T19:59:22","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=40042"},"modified":"2023-07-12T15:59:22","modified_gmt":"2023-07-12T19:59:22","slug":"swift-http-types","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/07\/12\/swift-http-types\/","title":{"rendered":"Swift HTTP Types"},"content":{"rendered":"<p><a href=\"https:\/\/www.swift.org\/blog\/introducing-swift-http-types\/\">Guoye Zhang et al.<\/a> (via <a href=\"https:\/\/toot.community\/@justkwin\/110694220368495514\">Quinn<\/a>):<\/p>\n<blockquote cite=\"https:\/\/www.swift.org\/blog\/introducing-swift-http-types\/\"><p>We&rsquo;re excited to announce a new open source package called <a href=\"https:\/\/github.com\/apple\/swift-http-types\">Swift HTTP Types<\/a>.<\/p><p>Building upon insights from Swift on server, app developers, and the broader Swift community, Swift HTTP Types is designed to provide a shared set of currency types for client\/server HTTP operations in Swift.<\/p><p>[&#8230;]<\/p><p>As the package matures, our goal is to replace SwiftNIO&rsquo;s <code>HTTPRequestHead<\/code> and <code>HTTPResponseHead<\/code> as well as the HTTP message details of Foundation&rsquo;s <code>URLRequest<\/code> and <code>URLResponse<\/code>.<\/p><\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/07\/19\/niotransportservices-swiftnio-and-network-framework\/\">NIOTransportServices: SwiftNIO and Network.framework<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/03\/01\/swiftnio\/\">SwiftNIO<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Guoye Zhang et al. (via Quinn): We&rsquo;re excited to announce a new open source package called Swift HTTP Types.Building upon insights from Swift on server, app developers, and the broader Swift community, Swift HTTP Types is designed to provide a shared set of currency types for client\/server HTTP operations in Swift.[&#8230;]As the package matures, our [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-07-12T19:59:25Z","apple_news_api_id":"df6a0e82-e8b6-48b1-8388-d9978018de9f","apple_news_api_modified_at":"2023-07-12T19:59:25Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A32oOgui2SLGDiNmXgBjenw","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[476,74,901,1901,96,50],"class_list":["post-40042","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-networking","tag-opensource","tag-swift-programming-language","tag-swiftnio","tag-web","tag-webapi"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/40042","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=40042"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/40042\/revisions"}],"predecessor-version":[{"id":40043,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/40042\/revisions\/40043"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=40042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=40042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=40042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}