mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
util.HttpRequest helper to make requests with headers (#2678)
This commit is contained in:
@@ -287,6 +287,7 @@ The packages and functions are listed below (in Go type signatures):
|
||||
- `String(b []byte) string`: converts a byte array to a string.
|
||||
- `RuneStr(r rune) string`: converts a rune to a string.
|
||||
- `Unzip(src, dest string) error`: unzips a file to given folder.
|
||||
- `HttpRequest(method string, url string, headers []string) (http.Response, error)`: makes a http request.
|
||||
|
||||
This may seem like a small list of available functions but some of the objects
|
||||
returned by the functions have many methods. The Lua plugin may access any
|
||||
|
||||
Reference in New Issue
Block a user