firepear / petrel

It's like SQLite, but for networking
MIT License
20 stars 1 forks source link

Remove variant Client constructors from client package #73

Closed firepear closed 1 month ago

firepear commented 3 months ago

Unlike the server, which does many things differently depending on what type of server you're requesting, the various client constructors are very, very thin wrappers around the common function which does most of the work.

For ease of use, these functions can be collapsed into a single constructor with a type argument, with no real additional complexity in the code.

firepear commented 1 month ago

Add connection tests for non-TCP after this work is done.

firepear commented 1 month ago

Oops went ahead and did this.