Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Indy HTTP client- Need help on Overwriting HTTP method
#2
In order to specify a custom method, you will have to call TIdHTTP.DoRequest() directly. However, it is currently a protected method, so you will have to use an accessor class to reach it, eg:

Code:
type
  TIdHTTPAccess = class(TIdHTTP)
  end;

TIdHTTPAccess(form1.myhttp).DoRequest('SUBSCRIBE', URL, nil, nil, []);

Reply


Messages In This Thread
RE: Indy HTTP client- Need help on Overwriting HTTP method - by rlebeau - 03-04-2020, 07:56 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)