'Builds a single priority frame.'

def buildPriorityFrame(self, streamID, weight, dependsOn=0, exclusive=False):

    f = hyperframe.frame.PriorityFrame(streamID)
    f.depends_on = dependsOn
    f.stream_weight = weight
    f.exclusive = exclusive
    return f
