?base_url:Neturl.url ->
?close:(Pervasives.in_channel -> unit) ->
url_of_id:(Pxp_core_types.ext_id -> Neturl.url) ->
channel_of_url:(Pxp_core_types.ext_id ->
                Neturl.url ->
                Pervasives.in_channel * Pxp_core_types.encoding option) ->
unit -> Pxp_reader.resolver