params lets you set the encoding_opts. For this component, the most important setting is space_as_plus and this depends on the application.
The reason params lets you set it and set_params doesn't is only historical. set_params was later implemented as a convenience function based on params. So, we ended up not including this overload. But we should have.
params lets you set the encoding_opts. For this component, the most important setting is
space_as_plus
and this depends on the application.The reason params lets you set it and set_params doesn't is only historical.
set_params
was later implemented as a convenience function based on params. So, we ended up not including this overload. But we should have.