Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Unix Sockets support #389

Merged
merged 4 commits into from
Jan 18, 2025
Merged

Added Unix Sockets support #389

merged 4 commits into from
Jan 18, 2025

Conversation

francis-clairicia
Copy link
Owner

@francis-clairicia francis-clairicia commented Jan 18, 2025

What's changed

High-level API

  • Added UnixStreamClient and AsyncUnixStreamClient.
  • Added UnixDatagramClient and AsyncUnixDatagramClient.
  • Added StandaloneUnixStreamServer and AsyncUnixStreamServer.
  • Added StandaloneUnixDatagramServer and AsyncUnixDatagramServer.
  • Added UNIXClientAttribute typed attribute set.

Low-level API

  • In easynetwork.lowlevel.socket:
    • Added UNIXSocketAttribute.
    • Added UnixCredentials.
    • Added UnixSocketAddress.
  • In easynetwork.lowlevel.api_async.backend:
    • Added UNIX transports factory in AsyncBackend interface.

@francis-clairicia francis-clairicia added enhancement New feature or request topic-client Relative to client implementations topic-server Relative to server implementations topic-async Relative to asynchronous API topic-unix-stream Relative to UNIX stream sockets topic-unix-dgram Relative to UNIX datagram sockets labels Jan 18, 2025
@francis-clairicia francis-clairicia self-assigned this Jan 18, 2025
Copy link

codecov bot commented Jan 18, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (a374c9d) to head (3c06a98).
Report is 1 commits behind head on main.

Additional details and impacted files
Flag Coverage Δ
OS-FreeBSD 78.20% <80.51%> (+0.11%) ⬆️
OS-Linux 81.26% <81.61%> (-0.25%) ⬇️
OS-NetBSD 78.18% <80.46%> (+0.05%) ⬆️
OS-OpenBSD 78.18% <80.51%> (+0.12%) ⬆️
OS-Windows 74.12% <44.03%> (-7.12%) ⬇️
OS-macOS 81.13% <81.26%> (-0.35%) ⬇️
Py-3.11 82.24% <84.95%> (+0.31%) ⬆️
Py-3.12 82.00% <83.57%> (+0.06%) ⬆️
Py-3.13 82.00% <83.57%> (+0.04%) ⬆️
test-functional 82.25% <84.95%> (+0.29%) ⬆️
test-unit 90.11% <88.81%> (+0.78%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

@francis-clairicia francis-clairicia merged commit 80371ec into main Jan 18, 2025
24 checks passed
@francis-clairicia francis-clairicia deleted the feature/unix-sockets branch January 18, 2025 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request topic-async Relative to asynchronous API topic-client Relative to client implementations topic-server Relative to server implementations topic-unix-dgram Relative to UNIX datagram sockets topic-unix-stream Relative to UNIX stream sockets
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant