Skip to content

feat(response): Return an integer representing the HTTP status code#28

Merged
0x676e67 merged 2 commits intomainfrom
feat
Feb 16, 2025
Merged

feat(response): Return an integer representing the HTTP status code#28
0x676e67 merged 2 commits intomainfrom
feat

Conversation

@0x676e67
Copy link
Copy Markdown
Owner

This pull request includes several formatting changes to the rnet.pyi file and a functional addition to the src/response.rs file. The changes in rnet.pyi primarily involve the removal of blank lines and minor adjustments to class definitions, while the src/response.rs file introduces a new method to the Response class.

Formatting changes in rnet.pyi:

Functional addition in src/response.rs:

  • Added a new method status to the Response class to return the status code as an integer. This method is marked with the #[getter] and #[inline(always)] attributes to ensure efficient access.

@0x676e67 0x676e67 merged commit 93dab63 into main Feb 16, 2025
@0x676e67 0x676e67 deleted the feat branch February 16, 2025 03:37
kreedzZhao pushed a commit to kreedzZhao/rnet that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant