Fluent API #40

Closed
opened 2024-10-29 22:39:10 +00:00 by kemitix · 1 comment
Owner

e.g.:

let contents = fs.file(&file_path).reader()?.to_string();
let lines = fs.file(&file_path).reader()?.lines();
let body = net.get(&url).header(&std_headers).send()?.body().to_string();
  • fs: support 100% std::fs operations
  • net
e.g.: ```rust let contents = fs.file(&file_path).reader()?.to_string(); let lines = fs.file(&file_path).reader()?.lines(); let body = net.get(&url).header(&std_headers).send()?.body().to_string(); ``` - [x] `fs`: support 100% `std::fs` operations - [ ] `net`
Author
Owner
Replaced by kemitix/kxio#42 and kemitix/kxio#43
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: kemitix/kxio#40
No description provided.