Skip to content

'net' module - networking utilities #2

@cadebrown

Description

@cadebrown
  • net.SocketIO - Socket wrapper for input/output (derives from io.BaseIO)
  • net.http - submodule for HTTP requests
  • net.http.Server - server that acquires sockets and responds to requests
  • net.http.Request - incoming request
  • net.http.Response - outgoing response
  • net.http.get, .set, etc for easy-to-use wrappers, similar to the requests module in Python
  • Look into bluetooth procols (BT2CAP, etc)

A lot of the code is in the old repo (https://github.com/ChemicalDevelopment/kscript-old) , just needs porting

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestmoduleRelating to a standard module

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions