Skip to content
This repository has been archived by the owner on Dec 18, 2024. It is now read-only.

added filesystem functions and requests module #225

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tokyob0t
Copy link

New filesystem functions

  • read_file_async: Reads a file asynchronously and returns its contents
  • read_file_sync: Reads a file synchronously
  • write_file_async: Writes data to a file asynchronously
  • file_exists: Checks if a file exists at a given path
  • dir_exists: Checks if a directory exists at a given path

http requests module
added a requests module for making asynchronous HTTP requests with support for GET, POST, and other methods. it includes options for query parameters, headers, and request bodies, along with handling response data like status codes and response text :)

@javacafe01
Copy link
Member

@Nooo37 Do you have time to review this?

@javacafe01 javacafe01 added the enhancement New feature or request label Oct 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants