MCPcopy
hub / github.com/ContainerSSH/ContainerSSH / Post

Method Post

http/client_impl.go:93–107  ·  view source on GitHub ↗
(
	path string,
	requestBody interface{},
	responseBody interface{},
)

Source from the content-addressed store, hash-verified

91}
92
93func (c *client) Post(
94 path string,
95 requestBody interface{},
96 responseBody interface{},
97) (
98 int,
99 error,
100) {
101 return c.request(
102 http.MethodPost,
103 path,
104 requestBody,
105 responseBody,
106 )
107}
108
109func (c *client) requestURL(
110 method string,

Callers

nothing calls this directly

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected