vibe.d beta banner
get vibe.d
0.10.0

Asynchronous I/O that doesn’t get in your way, written in D

Function addBasicAuth

Augments the given HTTP request with an HTTP Basic Auth header.

void addBasicAuth (
  scope HTTPRequest req,
  string user,
  string password
) @safe;
Authors
Copyright
License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.