We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The WEB Server example building fails with
source/app.d(51,9): Error: invalid `foreach` aggregate `req.headers`, define `opApply()`, range primitives, or use `.tupleof`
DMD64 D Compiler v2.097.2, vibe.d 0.9.3
Could be fixed with byKeyValue() method:
byKeyValue()
foreach(key, value; req.headers.byKeyValue()) {
The text was updated successfully, but these errors were encountered:
It happens with DMD 2.100.0 also. Additionally, it requires to cast the variable username_ to string using cast(string)username_.
username_
string
cast(string)username_
Sorry, something went wrong.
vibed/web-server.md: Fix build issues
7a18f33
fixes dlang-tour#355
5c7691d
See dlang-tour/english#355
869b5ac
Successfully merging a pull request may close this issue.
The WEB Server example building fails with
DMD64 D Compiler v2.097.2, vibe.d 0.9.3
Could be fixed with
byKeyValue()
method:The text was updated successfully, but these errors were encountered: