Back to product page
- Introduction
- License agreement
- Classes
- Enumerations
- Exceptions
- WeOnlyDo.Server.WebServer
- WeOnlyDo.Server.WebHeader
- WeOnlyDo.Server.WebHeaders
- WeOnlyDo.Server.WebRequest
- WeOnlyDo.Server.WebResponse
- WeOnlyDo.Server.WebSessions
- WeOnlyDo.Server.WebSessionVar
- WeOnlyDo.Server.WebSessionVars
- WeOnlyDo.Server.WebUpload
- WeOnlyDo.Server.WebUploads
- WeOnlyDo.Server.WebUser
- WeOnlyDo.Server.WebUsers
- How to get support?
Headers property
Returns reference to request headers.
Type
WebHeaders objectRemarks
This property returns reference to collection of all headers sent by the client in the request. You will usually find here Host header - list of Accepted languages, list of Accepted encodings etc.. To access specific header from the collection, you can use code like this:Debug.Print(Args.User.Request.Headers("Host").Value)
or, for example
Dim h As WeOnlyDo.Server.WebHeader
For Each h In Args.Request.Headers
Debug.Print(h.Name + ": " + h.Value)
Next