fsprojects / FsHttp

A lightweight F# HTTP library by @SchlenkR and @dawedawe
https://fsprojects.github.io/FsHttp/
Apache License 2.0
424 stars 42 forks source link

config_baseUrl shortcut #178

Open SchlenkR opened 5 months ago

SchlenkR commented 5 months ago

config_baseUrl

    config_transformHeader (fun (header: Header) ->
        let address = "http://zero2w:8080" </> header.target.address.Value
        { header with target.address = Some address })