Using HttpRequestMessage and IEnumerable

Using HttpRequestMessage and IEnumerable


I have a method that I want to include in an Extension that includes the following signature:

public void MssMyMethod(RCAmazonTokenRecord sstoken, HttpRequestMessage ssrequest, IEnumerable<string> sssignedHeaders, out string sscanonicalRequest){}

How do I use the HttpRequestMessage and IEnumerable<string> as inputs in the Extension, as these are not available types?

Hi Colin,

An extension method can only have OutSystems types as input parameters, not .NET- or Java-specific ones. So an IENumberable is unfortunately out of the question. You should pass a Record List or List, and enumerate that.