in client/Apache.ShenYu.AspNetCore/Services/ShenyuStartupService.cs [187:199]
private URIRegisterDTO BuildUriRegisterDto(string address)
{
var uri = new Uri(address);
return new URIRegisterDTO
{
protocol = $"{uri.Scheme}://",
appName = this._shenyuOptions.Value.Client.AppName,
contextPath = this._shenyuOptions.Value.Client.ContextPath,
rpcType = this._shenyuOptions.Value.Client.ClientType,
host = uri.Host,
port = uri.Port,
};
}