How to custom routing

public override void Configure(Container container)
{
    SetConfig(new HostConfig
    {
        HandlerFactoryPath = "ssapi",
    }
}
[Route("/hello")]
public class HelloRequest : IReturn<HelloResponse>
{
	public string Name { get; set; }
}
var url = new HelloRequest().ToGetUrl();  

The result is /hello,
But I Want get the url result like /ssapi/hello , how to set it.

The Reverse Routing only evaluates the /path/info contained in the Route definition, it doesn’t include the virtual path where your instance is hosted, so you’ll need to prepend it yourself, e.g:

var url = HostContext.Config.HandlerFactoryPath
    .CombineWith(new HelloRequest().ToGetUrl());