public static IHalBuilder WithContent <TContent>(this IHalBuilder builder, TContent content, Encoding encoding, string mediaType) where TContent : IHalRequest { return(builder.WithContent(() => content, encoding, mediaType)); }
public static IHalBuilder WithContent <TContent>(this IHalBuilder builder, Func <TContent> contentFactory, Encoding encoding) where TContent : IHalRequest { return(builder.WithContent(contentFactory, encoding, null)); }
public static IHalBuilder WithContent <TContent>(this IHalBuilder builder, TContent content) where TContent : IHalRequest { return(builder.WithContent(content, null, null)); }