iteration

This commit is contained in:
Layla 2023-10-09 07:01:31 -04:00
parent bb0d27b755
commit de8efb1b5d

View File

@ -1,9 +1,18 @@
-- Desc: CCTTP Networking Library
-- Auth: Layla Manley
-- Link: https://gitea.layla.gg/layla/computercraft
local interface Response
status: number
body: string
Response = {
status = 0,
body = "",
headers = {}
}
function Response:new(o)
o = o or {}
setmetatable(o, self)
self.__index = self
return o
end
function get(url: string): Response: