-
Notifications
You must be signed in to change notification settings - Fork 0
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
add http client #1
Conversation
Reviewer's Guide by SourceryThis pull request introduces an HTTP client to the rust-utils library, along with a job system for handling asynchronous requests. It also includes necessary dependency updates and feature flags to manage the new functionality. Class diagram for HTTP and Job SystemclassDiagram
class RequestOptions {
+Option~String~ output_filename
+Option~String~ body_filename
}
class Response {
+u16 status_code
+HashMap~String,String~ headers
+Option~str~ body
}
class RequestPrep {
+Request req
+Option~String~ output_filename
+Vec~u8~ body
}
class Job {
+Receiver~Output~ rx
+JoinHandle handle
}
class Jobs {
+HashMap~JobId,Job~ map
+usize next_job
+start()
+check()
}
Jobs *-- Job
note for Jobs "Manages async HTTP requests"
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've reviewed this pull request using the Sourcery rules engine.
Add http client, update dependencies