Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 385 Bytes

File metadata and controls

20 lines (15 loc) · 385 Bytes
classDiagram

interface httpAgent
class httpAgent {
    + GET (url: string, headers: [string: string]) : Response
    + POST (url: string, headers: [string: string], payload: Data) : Response
}

class Response {
    + status: Uint8
    + headers: [string: string]
    + body: Data
}

httpAgent --> Response

Loading

And we'll have to handle form-URL encoding for presentation.