# Snowdrop Framework

**URL:** <https://forums.swift.org/t/snowdrop-framework/69976>\
**Category:** Community Showcase\
**Tags:** concurrency, macros, network\
**Created:** [February 11, 2024, 10:37pm UTC](https://forums.swift.org/t/snowdrop-framework/69976 "2024-02-11T22:37:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![neothXT](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/neothxt/32/30402_2.png) [@neothXT](https://forums.swift.org/u/neothXT)\
**Post date:** [February 11, 2024, 10:37pm UTC](https://forums.swift.org/t/snowdrop-framework/69976/1 "2024-02-11T22:37:56Z")

</div>

Hi!

Today I've released first version of Snowdrop. It's a type-safe, protocol based framework inspired by Retrofit that comes with Automatic Authentication Refresh, SSL/Certificate pinning, WebSocket and the path variable default value support.

I'd like to highly encourage you to check it out and share your thoughts 🙂

> **[GitHub - neothXT/Snowdrop: Networking made easy](https://github.com/neothXT/Snowdrop)**
>
> Networking made easy. Contribute to neothXT/Snowdrop development by creating an account on GitHub.

---

<div class="post-metadata">

**Author:** ![ktoso](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/ktoso/32/44526_2.png) [@ktoso](https://forums.swift.org/u/ktoso)\
**Post date:** [February 12, 2024, 1:28am UTC](https://forums.swift.org/t/snowdrop-framework/69976/2 "2024-02-12T01:28:40Z")

</div>

Congrats on the release it looks quite fun! Though the name is incredibly confusing tbh 😅

[Netty](https://netty.io/) is THE networking library on the JVM and “netty for swift” is exactly [SwiftNIO](https://github.com/apple/swift-nio), co founded by Netty authors etc. So googling around and finding this Netty could cause quite some confusion and misunderstandings 💭 It’s your choice in the end, but with my Swift Server Wofkroup hat on, I think we’d like to avoid causing such confusion to people coming into Swift. Do you think you could consider picking w different name? Given that the nature of this library is different than the well known Netty library hm.

Sorry for such request but I’m thinking here about the ecosystem impact of confusing people coming from JvM land to Swift.

The library looks cool and it’d be nice to promote it etc!

---

<div class="post-metadata">

**Author:** ![neothXT](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/neothxt/32/30402_2.png) [@neothXT](https://forums.swift.org/u/neothXT)\
**Post date:** [February 12, 2024, 7:59am UTC](https://forums.swift.org/t/snowdrop-framework/69976/3 "2024-02-12T07:59:22Z")

</div>

Thank you. Yes, it might be a good idea. I’ll think of a different name then 🙂

---

<div class="post-metadata">

**Author:** ![neothXT](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/neothxt/32/30402_2.png) [@neothXT](https://forums.swift.org/u/neothXT)\
**Post date:** [February 12, 2024, 8:52am UTC](https://forums.swift.org/t/snowdrop-framework/69976/4 "2024-02-12T08:52:20Z")

</div>

I chose Snowdrop :) It better fits the time when it got created. Once again thanks for pointing out the name was heavily suggesting it's JVM's Netty but for Swift

---

<div class="post-metadata">

**Author:** ![ktoso](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/ktoso/32/44526_2.png) [@ktoso](https://forums.swift.org/u/ktoso)\
**Post date:** [February 12, 2024, 8:56am UTC](https://forums.swift.org/t/snowdrop-framework/69976/5 "2024-02-12T08:56:04Z")

</div>

Oh that’s a fun name, congrats! ❄ 💧

Now let’s get back to discussing the actual project and code! 😄 I’ll have a deeper looks myself as well…

---

<div class="post-metadata">

**Author:** ![Jean-Daniel](https://avatars.discourse-cdn.com/v4/letter/j/977dab/32.png) [@Jean-Daniel](https://forums.swift.org/u/Jean-Daniel)\
**Post date:** [February 12, 2024, 1:05pm UTC](https://forums.swift.org/t/snowdrop-framework/69976/6 "2024-02-12T13:05:59Z")

</div>

IMHO, the URL must not be part of the service, but should be an injected parameter.  
You must be able to create multiple instance pointing on different URL (staging URL, prod URL, …)

More generally, I think dropping the `Retrofit.Builder()` design pattern from your API design may paint you into a corner by limiting the way to customize the service (replacing the network stack, changing the serviced URL, etc.)

All of this should be defined at service creation time, and should not be editable afterward (like the auth handle, etc…).

---

<div class="post-metadata">

**Author:** ![neothXT](https://sea2.discourse-cdn.com/swift/user_avatar/forums.swift.org/neothxt/32/30402_2.png) [@neothXT](https://forums.swift.org/u/neothXT)\
**Post date:** [February 12, 2024, 2:01pm UTC](https://forums.swift.org/t/snowdrop-framework/69976/7 "2024-02-12T14:01:23Z")

</div>

Interesting idea. I’ll look into it 🙂
