The OpenD Programming Language

del

HTTP/FTP delete content.

void
del
(
Conn = AutoProtocol
)
(
const(char)[] url
,
Conn conn = Conn()
)
if (
isCurlConn!Conn
)

Parameters

url const(char)[]

resource to delete

conn Conn

connection to use e.g. FTP or HTTP. The default AutoProtocol will guess connection type and create a new instance for this call only.

Examples

import std.net.curl;
del("https://httpbin.org/delete");

See Also

Meta