Forums / SmartComponent Library - Developer Forum / Accessing HttpHeaders in RestEntitiesWebHandler

Accessing HttpHeaders in RestEntitiesWebHandler

2 posts, 0 answered
  1. Simon Prinsloo
    Simon Prinsloo avatar
    9 posts
    Registered:
    20 Feb 2019
    21 Oct 2020
    Link to this post
    Good day

    Is there any way to access the Http Headers in the RestMethod invoked by RestEntitiesWebHandler?

    The client is busy switching the OpenEdge side of existing methods to the RestEntitiesWebHandler, but some of them conveys some data in the headers at the moment.
  2. Mike Fechner
    Mike Fechner avatar
    263 posts
    Registered:
    14 Sep 2016
    22 Oct 2020 in reply to Simon Prinsloo
    Link to this post
    You can get access to the whole web request instance by declaring the parameter object of type IWebRequest or OpenEdge.Web.IWebRequest.
2 posts, 0 answered