open fun onBeforeSendHeaders(filter: OnBeforeSendHeadersFilter, listener: Function<*>): Unit
open fun onBeforeSendHeaders(listener: Function<*>): Unit