Getting a client ip address in HttpApi Service

Hello.

I’m trying to convert some RODL services to HttpAPI.

In rodl service I could get client ip address like this

public virtual AOperation()
{
    ...
    var ip = (this.ServerChannel as IpHttpServerChannelInfo).RemoteEndPoint.Address;
    ...
}

but in HttpAPI service ServerChannel is always null.
I tried implementing IChannelAwareService, but OnServiceActivated method never invoked.

How can I access ServerChannel of HttpAPI service and get client ip address.

Logged as bugs://D19186.

Hello

Unfortunately it is not possible to retrieve this information in the current implementation of HttpAPI
I have logged an issue to investigate if it is possible to provide this information.

Sorry for the inconvenience